• Cours
  • Compilateur de code
  • Discuter
  • Tarification
  • Équipes
Menu

Discussions Q&R

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.
c++while
1 Vote
2 Réponses
29th Dec 2016, 4:59 PM
Cody Arthur
Cody Arthur - avatar
< Précédent123Suivant >
Aujourd'hui en vedette
Java certification
1 Votes
Game dev
0 Votes
Question is about for loops and range
0 Votes
Beginner in coding and game development – where should I start?
0 Votes
Coding to automate word documents for technical specifications
1 Votes
I can't understand the bug
0 Votes
I have completed 39 courses and now I can't find any other course without those 39 couses what can I do
0 Votes
Error with code
0 Votes
What is <p>
1 Votes
Guys I'm a newcomer
1 Votes