I am having troubles with my programming class since I am just new to it and I just know little things about it.
Now my teacher gave as a seatwork which states:
Generate an array of 20 random numbers, then the user must input his/her guess number. If the number is in the array but not the exact number (yes- this is much like a guessing game) it will be omitted from the array and the program will display the word "Found" and the remaining 19 numbers, the program will repeat until the user found the exact number. Whereas, if the user input number isn't in the array, it will display "Key not found".
Thanks in advance for your help.
I'm new here and I think, perhaps I will stay and visit often..
^^
1 reply to this topic
#1
Posted 22 November 2010 - 09:15 PM
|
|
|
#2
Posted 22 November 2010 - 10:52 PM
Since people will generally not just do your homework for you, you need to explain for everyone where you are up to at the moment, what code have you currently got and what are you stuck at?
Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









