₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,008 members, 8,419,899 topics. Date: Thursday, 04 June 2026 at 06:53 AM

Toggle theme

MrKamar's Posts

Nairaland ForumMrKamar's ProfileMrKamar's Posts

1 2 3 4 5 6 7 8 (of 8 pages)

Nairaland GeneralRe: See The Owl They Killed At Ikotun Market This Morning by MrKamar(m): 8:12pm On Oct 19, 2016
All I can see there is the babe behind the man cheesy

Op, send me her number grin
EducationRe: Unizik Students Build A Drone by MrKamar(m): 7:57am On Oct 17, 2016
He bought a drone and coupled its parts together. Nothing more grin
AgricultureRe: PHOTOS! Who Knows This Child That's Always Smiling And Saying; ''na So'' by MrKamar(m): 12:19pm On Oct 13, 2016
She's my sister. cheesy
RomanceRe: A Female Colleague Asked Me This Question. by MrKamar(m): 4:34pm On Oct 08, 2016
Op, I'm currently asking Google. You can ask the the poster below me while I compile your answers for you. grin
EducationRe: Can I Print JAMB 2013 Result In 2016? by MrKamar(op): 1:46pm On Oct 04, 2016
Jamez122:
I sell jamb E-Facility Card for N1520 Contact my via me no below.
How to use Jamb E-Facility Card
1. Enter JAMB registration portal by clicking here or visit
www.jamb.org.ng
2. On the page that loads up, click on the link for the service you want to access
3. Enter the PIN, Serial & Reg. No in the spaces provided and click on "Submit" button
Please Note: This Pin & Serial No can ONLY be used for one service. Wishing you the best !
But I prefer to do it myself smiley
EducationRe: Can I Print JAMB 2013 Result In 2016? by MrKamar(op): 1:39pm On Oct 04, 2016
Jamez122:
Yes sir it is possible with jamb e-facility Card you can check your 2013 result, you can contact us for your jamb e-facility card for N1520
Oh thank you! please where can i purchase the JAMB e-facility card?
EducationCan I Print JAMB 2013 Result In 2016? by MrKamar(op):
Please fellow "Nairalanders", can i print the original JAMB result i did in 2013 in the current year? If yes, how do I go about it? I need the result for my HND screening exercise, Auchi Polytechnic.

Please i need your answers sad
Jokes EtcRe: I Thought I Knew How To Pose Until I Saw These Pictures by MrKamar(m): 4:43pm On Oct 01, 2016
grin

ProgrammingRe: A Test For Python Guys. What Will This Code Do? by MrKamar(m): 7:54pm On Sep 28, 2016
Toniwirelex:
haaaa, what happened to all my indentations .....
Nairaland swallowed them grin
CareerRe: This Is Why You Should Never Close Late From Work! by MrKamar(m):
<script>

post.checkIfTrue()
// true

</script>
ProgrammingRe: Simple, Rich & Fast Approach To Learning Javascript. Whatsapp Group Inclusive by MrKamar(m): 2:35pm On Sep 19, 2016
08167513759
ProgrammingRe: Php/mysql Or Javascript/node.js by MrKamar(m): 8:34pm On Sep 12, 2016
KvnqPrezo:
Am done learning CSS/HTML + bootstrap the problem is js...
This how am learning...
Html
CSS
JavaScript /jQuery
PHP/MySQL

Sha lemme hear from the bad guys...
JavaScript is somehow. I am also learning it and the concepts are hard to understand
ProgrammingRe: Simple Java Calculator Code. by MrKamar(m): 9:25am On Sep 09, 2016
I smell copy and paste grin
CelebritiesRe: Monalisa Chinda And Husband Ride On Donkeys At Their Wedding In Greece by MrKamar(m): 1:06pm On Sep 02, 2016
them for kukuma ride fowl angry
Science/TechnologyRe: Solar Eclipse In Abuja. Students Catching A Glimpse Of The Annular Eclipse by MrKamar(m): 3:22pm On Sep 01, 2016
I did not see any eclipse angry
Science/TechnologyRe: Anular Eclipse In Nigeria: What's The Situation Report In Your Area?? by MrKamar(m): 10:04am On Sep 01, 2016
All I can see is eclipse of the rain grin here in Ketu , magodo, Lagos. first it was the moon that was missing, now it's the eclipse huh
AgricultureRe: EU Ban On Nigerian Beans: FG Inaugurates Standing Committee by MrKamar(m): 8:29am On Aug 31, 2016
grin
ProgrammingRe: I Want To Learn Programming. Which Language Should I Start With? by MrKamar(m): 3:16pm On Aug 30, 2016
creamyworkz:
looking at the function being called by this statement

document.write( findMax(1, 123, 500, 115, 44, 88))

the arguments parsed are "1" "123" "500" "115" "44" "88" however in programming, these numbers are automatically assigned the index numbers "0" "1" "2" "3" "4" "5" respectively, which is represented by the "i"
now this is what happens:
it starts at i=0 and picks the argument with that index, then runs the following block of code:
if (arguments[i] > max) {
max = arguments[i];
}
which aimply means if the argument with index "i" (note that at the beginning i=0 so the argument at index 0 is "1" ) is greater than "max" (note that at the begining max =0 ) then the value of "the argument at index "i" should be assigned to max(i.e the value of max should change to the value of that argument). and then the loop repeats itself again after adding 1 to the value of "i" (simply put it moves to the next index and picks the value of the argument with that index in this case "123"wink. kapish
I know what you're explaining. What I'm asking is that how does the loop knows 500 is greater than the rest arguments. I also know that I could simply do this by using the Math.max() but I want to know how it works
ProgrammingRe: I Want To Learn Programming. Which Language Should I Start With? by MrKamar(m): 12:33pm On Aug 30, 2016
creamyworkz:
Am not much of a javascript person, but from my experience with other programming languages i can tell you this:
"findMax" in that code is a function that was declared with the keyword "function"
in that function, two variables were declared "i" and "max"
with the intention of using "i" as our counter to loop through the arguments. and "max" to hild the maximum value. what the for loop is doing is "it equates "i" to zero for the first iteration and checks if "zero" is less than the number of "arguments parsed into the function "findMax", if it is it goes to the if statement to check if the argument with the index of "zero" is greater than "max" if it is then the value of max is replaced by the value of the agrument with that index, else it goes back to the if statement and adds one to the value of "i" and repeats the loop, recall it checks to be sure "i" is less than the number of items in the argument
How does the program now returns 500? The rest arguments are greater than 0. Why did the program returns 500, how does it know that 500 is greater than the rest arguments?
ProgrammingRe: Jscripts Help Needed Here by MrKamar(m): 2:45pm On Aug 29, 2016
Crieff:
Hello,

I just started with Jscripts...still at the beginner stage.
I want to output both names...is this the correct display statement?


<!DOCTYPE html>
<html>
<body>

<h1>JavaScript is Case Sensitive</h1>
<p id="demo"></p>
<script>
var lastName = "Doe";
var lastname = "Peterson";
document.getElementById( "demo" ).innerHTML = lastName;
</script>

</body>
</html>


So, ,I wrote it this way:

<!DOCTYPE html>
<html>
<body>

<h1>JavaScript is Case Sensitive</h1>
<p id="demo"></p>
<script>
var firstName = "Doe";
var lastName = "Peterson";
document.getElementById( "demo" ).innerHTML = firstName lastName;
</script>

</body>
</html>


But it is not displaying the two names yet. Infact, it is not displaying anything at all except the h1 element's contents
You should add "+" operator in between the firstName and lastName.

So it should look like this.

document.getElementById("demo" ).innerHTML =
firstName +" "+ lastName;
//"" added a space between the firstName and lastName
ProgrammingRe: I Want To Learn Programming. Which Language Should I Start With? by MrKamar(m):
Please can someone explain this code to me? It's JavaScript. I have been trying to understand it but I can't figure how the script returns 500 which is maximum number in the argument.

Pls come to my aid. I'm a newbie

<script>
function findMax() {
var i, max = 0;
for (i = 0; i < arguments.length; i++) {
if (arguments[i] > max) {
max = arguments[i];
}
}
return max;
}

document.write( findMax(1, 123, 500, 115, 44, 88)) //returns 500
</script>
RomanceRe: Can Someone Explain What Kind Of A Relationship Is This? by MrKamar(m): 6:49pm On Aug 23, 2016
No giving her money
CelebritiesRe: Daddy Freeze Exposes Shamelss Female Fan Who Slid Into His Instagram DM by MrKamar(m): 10:01am On Aug 23, 2016
ProgrammingRe: TimeCoin - Developers wanted by MrKamar(m): 3:01pm On Aug 22, 2016
D34lw4p:
no money for now. So I relaxed. cheesy
grin
ProgrammingRe: I Want To Learn Programming. Which Language Should I Start With? by MrKamar(m): 1:51pm On Aug 22, 2016
Spent the weekend practicing JavaScript and at least I'm getting somewhere.. From JavaScript to Jquery > bootstrap > revision of HTML and CSS then from there I could move to server side scripting languages sad

Still have a long way to go but I know I must get there. cheesy
ProgrammingRe: TimeCoin - Developers wanted by MrKamar(m): 1:39pm On Aug 22, 2016
D34lw4p:
I'm in for the SQL and javascript
Go purchase a higher bandwidth in your server
PetsRe: Please What Breed Is This Dog??? by MrKamar(m): 4:37pm On Aug 19, 2016
Bush dog grin
PoliticsRe: JTF And Abuja Taxi Drivers Clash This Morning (pictures) by MrKamar(m): 12:30pm On Aug 19, 2016
Na that babe for the First photo me deh look o cheesy

grin
EducationRe: Photos: Only Those Who Went To Secondary School In Nigeria Will Understand This by MrKamar(m): 10:43am On Aug 19, 2016
grin
CelebritiesRe: Sira Kante Rocks Ankara Swimsuit by MrKamar(m): 3:37pm On Aug 18, 2016
See wetin Davido be deh chop cheesy
PoliticsRe: PDP Bus Going To Convention In Accident Along Abak (photos) by MrKamar(m): 2:45pm On Aug 17, 2016
sad

1 2 3 4 5 6 7 8 (of 8 pages)