Question: Write an algorithm that read 5 distinct integers and displays the largest value. Assume the input values are distinct integers. The intergers can be negative
Write an algorithm that read 5 distinct integers and displays the largest value. Assume the input values are distinct integers. The intergers can be negative too so that must be taken into account. The following rules are also in place. Code in java please
- DO NOT add any import statements
- DO NOT add the project statement
- DO NOT change the class name
- DO NOT change the headers of ANY of the given methods
- DO NOT add any new class fields
- DO NOT use System.exit()
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
