0

How to make an app that can save an X number of variables but it can't have any of the values repeated?

also how can I print those numbers in ascending or descending order

16th Jan 2017, 1:29 AM
Ismael Illan
Ismael Illan - avatar
4 Réponses
+ 1
If you google "java scanner" you will be finding simple examples for the user input. Do you need to know anything else?
17th Jan 2017, 9:12 PM
Jannick
0
Wait...what? Can you rephrase that and be more specific?
16th Jan 2017, 10:19 PM
Jannick
0
sure... I need to make in app in java that does 3 things: first allow the user to type in how many numbers he will be entering. second save the numbers that the user entered excepted for the ones the user entered more than once. and finally print the numbers in order from the biggest to the smallest (or from the smallest to biggest) was I clear enough?
17th Jan 2017, 2:37 AM
Ismael Illan
Ismael Illan - avatar
0
I'm good for now thanks :)
18th Jan 2017, 5:27 AM
Ismael Illan
Ismael Illan - avatar