The process of finding the largest value or smallest value in a sequence is commonly used in many computer applications. This assignment involves developing a program that prompts the user to enter a series of 10 integers and then determines and displays the largest and smallest values entered. Your solution must use at least the following variables:
counter a counter to count how many integers were entered
number the integer most recently input by the user
smallest the smallest number entered so far
largest the largest number entered so far
Write three separate programs for this assignment. Name the first program Unit4Lab3A and use a while construct in the solution. Name the second program Unit4Lab3B and use a for construct in the solution. Name the third program Unit4Lab3C and use a do-while construct in the solution.