New course! Every coder should learn Generative AI!
Try a free lessonQ&A Discussions
In 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 AnswersHelp so confused
0 Votes
1 AnswerConfused Snakes 😂
1 Vote
1 AnswerI'm confused
0 Votes
1 AnswerConfused with my code
0 Votes
4 AnswersHot today
Media on HTML
0 Votes
Is Sololearn better or Mimo.org?
1 Votes
How to show img???
0 Votes
How to solve this
1 Votes
Code Playground
0 Votes
Java project
0 Votes
Editor HTML
0 Votes
JavaScript
0 Votes