You own a consulting firm and a client has engaged you to write
a console program. In general, this program must prompt the user
for ten numbers, ranging between 10 and 100. The program compares
the number entered to the previous number. In the event that it is
a duplicate number, the user will be prompted to enter a different
number. Display the number to the screen as long as it is not a
duplicate.
For this assignment, complete the following:
Write a console application that requests 10 numbers from the
user as individual inputs.
Each number must be between 10 and 100, inclusive.
Compare each number to the last one entered to determine if
it is a duplicate. If it is, ask the user for a different number.
Output each number to the screen once you have determined
that all conditions are met.












Other samples, services and questions:
When you use PaperHelp, you save one valuable — TIME
You can spend it for more important things than paper writing.