0
How to repeatedly prompt the user until correct input is given - JAVA
i need to re-prompt the user everytime they input the wrong information. how do i do this? please help. https://code.sololearn.com/cSr9FMtv0u00/?ref=app https://code.sololearn.com/cSr9FMtv0u00/?ref=app
1 ответ
- 1
while(input!= desiredInput){
//ask for a input..
}