someone I explain some conditions if | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

someone I explain some conditions if

I was doing a task and asked me to enter 4 notes and show 3 messages if I was under 65 failed, 65 to 90 enough and greater than 90 excellent but I do not show me who to help me.

12th Apr 2017, 3:16 PM
Kevin Yoel Meza Acosta
Kevin Yoel Meza Acosta - avatar
1 Answer
+ 1
if(x < 65) { document.write("failed"); } else if(x <=90) { document.write("enough"); }else { document.write("great"); }
13th Apr 2017, 6:13 AM
Ng WeiShyang
Ng WeiShyang - avatar