You own a consulting firm and a client has engaged you to


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.

Solution Preview :

Prepared by a verified Expert
Business Management: You own a consulting firm and a client has engaged you to
Reference No:- TGS01484052

Now Priced at $20 (50% Discount)

Recommended (90%)

Rated (4.3/5)