We all people must learn programming first and then we need to teach our kids for programming.
for ( var x = 1; x <= 100; x++) {
if ( x % 3 == 0 ) {
console.log( "Fizz" );
} else {
console.log( x );
}
if ( x % 5 == 0 ) {
console.log( "Buzz" );
} else {
console.log( x );
}
if ( x % 3 == 0 && x % 5 == 0 ) {
console.log( "FizzBuzz" )
}
else {
console.log( x );
}
}
Not Show FizzBuzzz !
for ( var x = 1; x <= 100; x++) {
if ( x % 3 == 0 ) {
console.log( "Fizz" );
} else if ( x % 5 == 0 ) {
console.log( "Buzz" );
} else if ( x % 3 == 0 && x % 5 == 0 ) {
console.log( "FizzBuzz" )
}
else {
console.log( x );
}
}
What is compiler and interpreter? In this sections we can learn.
Compiler
- Compile the whole source code file / files
- Output a binary executable ( Object Code ) Like / 0101010010010101001010
- Object Code = Instruction Set which is machine readable
- Pro – Faster Runtime
- Con – Slower Development Time
Interpreter
- Interpret line by line, from left to right, top to bottom
- No Binary Executable
- Pro – Faster Development Time
- Con – Slower Runtime
Learning sites for beginners.
www.nand2tetris.org
www.asciitable.com/index.asciifull.gif
ted.com
udicity channel on youtube
Good
R u. CU student..
thank for sharing❤
yea. thanks
attract all..
thank for your sharing❤
very good❤😊
Thanks
I am a computer student
Just kidding po🐬🐳
Thanks for details
very helpful