| PowerEdge (1) | |
|
Hi, I need to verify (in a loop) that a user has input no more than 9 numbers and that it does not start with 0. Not sure where to begin on this. | |
|
|
|
| vichu8888 (176) | |||
|
1. Create a array of 9 elements 2. use for loop to store 9 input into the array 3. check if first input is equal to zero 4. if true, cout error message and exit 5. else continue inputting the numbers into array
| |||
|
|
|||