ok, i moved it to the catch section.
now it sees to be good.
thnk you
Type: Posts; User: felixb
ok, i moved it to the catch section.
now it sees to be good.
thnk you
it run, but incorrect.
if i give 5 incorrect input - it run good, give 5 tries and exiting program after the 5 th attemp.
if i give 4 incorrect and the last is correct - it give 4 tries, i the 5 th...
Hi,
I try to write piece of code that get input from the user and in case of wrong input give the user anoter chance (total of 3 tries) to type input again.
what is the problem with it?
this...