New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
Front-end developing
0 Votes
4 AnswersCss Preprocessors
0 Votes
1 AnswerBundle CSS Files Together
5 Votes
1 AnswerWeb Development Kit
3 Votes
4 AnswersSolo learn Bootstrap Course
0 Votes
2 AnswersIn the short code below, I declared an array of five elements. But I'm getting confused on how to use it in a while loop. My main question is , if the user inputs a userchoice1 value that is less than 1, I want the code to keep looping until the user inputs a number that is not less than 1. But I don't know if the 7th line (userchoice1 [x]++) shows the right way to loop it.
1 Vote
2 AnswersHot today
What next?
0 Votes
please help me emotionally
1 Votes
0 === -0 and 0 == -0
2 Votes
Popsicle program
1 Votes
While loop problem maybe?
2 Votes