Hot Student Stories

How do you write a C plus plus program to input numbers and print the largest?

Caroline Campbell

in Student Loans

1 answer
1 view

1 answer

James Washington on August 17, 2019

During the entry, assume the first input number is the largest andstore it. As each new number is entered, compare with the storedvalue. If the new value is greater, the update of the stothe value of red. Onceall numbers have been input, the stored value contains the largestvalue entered.

Add you answer