• Corsi
  • Compilatore di codice
  • Discuti
  • Prezzi
  • Squadre
Menu

Discussioni Q&A

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 Voto
2 Risposte
29th Dec 2016, 4:59 PM
Cody Arthur
Cody Arthur - avatar
< Precedente123Successivo >
Popolare oggi
debate which is better
6 Votes
Text editor
0 Votes
Debugging issue?
0 Votes
Which one should I start with to learn python. The developer path or both seperate beginner and intermediate python?
0 Votes
Is anyone else having this issue?
2 Votes
how to view only application
0 Votes
Arduino
2 Votes
If very confusing
0 Votes
Mobile app not working sometimes
0 Votes
Scraping
0 Votes