Question: : ( Find the largest number ) Finding the largest number ( i . e . , the maximum of a group of numbers )

: (Find the largest number) Finding the largest number (i.e., the maximum of a group of numbers) is used frequently in computer applications. Write a program that uses scanf to input a series of 10 non-negative numbers and determines and prints the largest of the numbers. Your program should use three variables:
a) counter - A counter to count to 10(to keep track of how many numbers have been input)
b) number - the current number input to the program
c) largest - the largest number found so far
 : (Find the largest number) Finding the largest number (i.e., the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!