Question: ( Find the largest number ) Finding the largest number ( i . e . , the maximum of a group of numbers ) is
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
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
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
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
