Bluvam Fruvam

Greenhorn
+ Follow
since Jan 25, 2020
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bluvam Fruvam

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.
4 years ago