Dostonjon X.

Dostonjon X.

FerganaUzbekistan

Desktop Application Development

* Programming Quiz: Xaliljonov Dostonjon (4-1) */ /* * QUIZ REQUIREMENTS * - Your code should have a variable x with a starting value of 1 * - Your code should include a while loop * - Your while loop should have a stop condition * - Your code should use a conditional statement * - Your code should increment x by 1 each time the loop executes * - Your code should produce the expected output * - Your code should not be empty * - BE CAREFUL ABOUT THE PUNCTUATION AND THE EXACT WORDS TO BE PRINTED. */ var x = 1; while( x <= 20) {​ if(x % 3 === 0 && x % 5 === 0) {​ console.log("Xaliljonov Dostonjon"); }​ else if(x % 3 === 0 ) {​ console.log('Xaliljonov'); }​ else if( x % 5 === 0) {​ console.log("Doston"); }​ else if(x % 3 !== 0 && x % 5 !== 0) {​ console.log(x); }​ x++; }​ /* * Programming Quiz: 99 Bottles of Juice (4-2) * * Use the following while loop to write out the song "99 bottles of juice". * Log the your lyrics to the console. * * Note * - Each line of the lyrics needs to be logged to the same line.
Dostonjon X.

Dostonjon X.

FerganaUzbekistan

Desktop Application Development

Specializes in
* Programming Quiz: Xaliljonov Dostonjon (4-1) */ /* * QUIZ REQUIREMENTS * - Your code should have a variable x with a starting value of 1 * - Your code should include a while loop * - Your while loop should have a stop condition * - Your code should use a conditional statement * - Your code should increment x by 1 each time the loop executes * - Your code should produce the expected output * - Your code should not be empty * - BE CAREFUL ABOUT THE PUNCTUATION AND THE EXACT WORDS TO BE PRINTED. */ var x = 1; while( x <= 20) {​ if(x % 3 === 0 && x % 5 === 0) {​ console.log("Xaliljonov Dostonjon"); }​ else if(x % 3 === 0 ) {​ console.log('Xaliljonov'); }​ else if( x % 5 === 0) {​ console.log("Doston"); }​ else if(x % 3 !== 0 && x % 5 !== 0) {​ console.log(x); }​ x++; }​ /* * Programming Quiz: 99 Bottles of Juice (4-2) * * Use the following while loop to write out the song "99 bottles of juice". * Log the your lyrics to the console. * * Note * - Each line of the lyrics needs to be logged to the same line.
More than 30 hrs/week