Your first Java programming assignment is to write a small application. Before starting this assignment, we assume that you are familiar with any Java programming environment. You may use Java compilers on different systems, or a programming environment such as J++ or Cafe'.
What program to write
Write a program that prompts the user to type in 20 numbers. Each number is to have a value between 10 and 100. Each number is to be printed at the end only if it is not a duplicate of a number already read. Use an array to keep track of the numbers to be printed; the size of the array should not be greater than 20. Be sure to handle the "worst" case correctly, when all 20 numbers are duplicates.
What to put on your homework page for submission of the assignment:
Submit your assignment by linking the description of your program, a link to the Java source code and a small file showing sample output (like my .run files) to your homework page.
For more information, check out these homework guidelines.