Question: in c + + how can i finish this code to find the largest value in the array * Pseudocode: * Level 0 * -
in c how can i finish this code to find the largest value in the array
Pseudocode:
Level
Get numbers from the user
Find the largest value
Display the largest value
Level
Get numbers from the user
For counter To SIZE By
Output "Enter number counter
Input numscounter
End
Find the largest value
Display the largest value
Output EOL, EOL
Output "The largest values entered was largest, EOL
int main
Local constants
const int SIZE ; Size of the array for user's numbers
Local variables
int numsSIZE; Array containing user's numbers
int counter; Loop control variable
int largest; Largest value of the user's data set
Begin main Function Executables
Get numbers from the user
for counter ; counter SIZE ; counter
cout "Enter number counter ;
cin numscounter;
Find the largest value
Display the largest value
cout
;
cout "The largest values entered was largest endl;
Indicate to OS successful termination of program
return ;
End main
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
