Search:

Type: Posts; User: felixb

Search: Search took 0.18 seconds.

  1. Re: getting input from the user and give him some chances

    ok, i moved it to the catch section.
    now it sees to be good.
    thnk you
  2. Re: getting input from the user and give him some chances

    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...
  3. getting input from the user and give him some chances

    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...
Results 1 to 3 of 3