dimanche 14 juin 2020

Setting limitation for running a while loop in java

enter image description here

This is a simple project from my class. The User can put only wrong input 3 times if he enters more than 3 times the program should terminate. I don't know what loop should I use. Please provide some ideas. I tried using FOR loop but it's not working

Aucun commentaire:

Enregistrer un commentaire