My first question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

My first question

How do I make my program stop when a user or computer score 15 points

19th Jul 2020, 1:49 PM
Uprightness Eziukwu
Uprightness Eziukwu - avatar
1 Answer
+ 1
If value of score is in a variable say scr You can do if (scr == 15) { //syntax to stop programm depending on language }
19th Jul 2020, 3:28 PM
Gyan Prakash Singh Jaruhar
Gyan Prakash Singh Jaruhar - avatar