Question: / / Declare variables to hold the three input values integer num 1 integer num 2 integer num 3 integer largest / / Get the
Declare variables to hold the three input values
integer num
integer num
integer num
integer largest
Get the three integers from input
Assume the first number is the largest initially
largest num
Compare num with the current largest
if num largest
largest num
Compare num with the current largest
if largest
largest num
Output the largest number
Put largest to output
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
