Control of input value - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Control of input value

ChiropteraChiroptera Posts: 1Member
Hi.

I need some help to write a function that asks for a number and check that the number not have been used before.

Comments

  • JennLeeJennLee Posts: 3Member
    what have you started and what are your ideas?

    i would suggest an array to store input values, then loop each time input is given to check if it is a repeat or not.
  • JennLeeJennLee Posts: 3Member
    what have you started and what are your ideas?

    i would suggest an array to store input values, then loop each time input is given to check if it is a repeat or not.
Sign In or Register to comment.