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
4 Respostas
+ 1
If you google "java scanner" you will be finding simple examples for the user input.
Do you need to know anything else?
0
Wait...what? Can you rephrase that and be more specific?
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?
0
I'm good for now thanks :)