| jkfde (17) | |||
|
I need to have the user enter five numbers and check to make sure none of them are the same. Here is my code:
I had to pass this array to this function. How can i check to make sure the user doesnt enter the same number twice? I also need to make sure the numbers the user enters are between 1 and 59. | |||
|
Last edited on
|
|||
| Moschops (5961) | |
Here are five numbers.3 6 12 3 5Are any of them the same? How did you tell that? Explain to me how I can work it out for myself. | |
|
|
|
| jkfde (17) | |
| I know how to compare two numbers to check if there the same... i just dont know how to compare it to an entire array | |
|
|
|
| Felicia123 (158) | |||
|
just give u some concept. think over your self
| |||
|
|
|||