Question: Create a java program.Input 10 integers in the main function using for loop. Determine the largest and smallest number. Create and call the following methods.
Create a java program.Input 10 integers in the main function using for loop. Determine the largest and smallest number. Create and call the following methods. max() --> to determine the largest number --> must have two (2) parameters only --> must return integer min() --> to determine the smallestnumber --> must have two (2) parameters only --> must return integer display the result in the main function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
