Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please answer in java and can you make sure I can copy and paste it 10. Largest and Smallest Write a program with a loop
please answer in java and can you make sure I can copy and paste it
10. Largest and Smallest Write a program with a loop that lets the user enter a series of integers. The user should enter -99 to signal the end of the series. After all the numbers have been entered, the program should display the largest and smallest numbers entered. The value -99 is not to be counted as part of the series. SAMPLE RUN #4: java LargestAndSmallest Interactive Session Hide Invisibles Enter an integer.(-99.to stop):1 Enter an integer. (-99.to stop):1- Enter an integer. (-99.to stop): 2- Enter an integer.(-99.to stop):3- -Enter an integer.(-99.to stop): 5- - Enter an integer. (-99.to stop): 8- Enter an integer. (-99.to stop):13- Enter an integer.(-99.to stop):21- - Enter an integer. (-99-to.stop): 34- Enter an integer. (-99.to stop):55- Enter.an integer:(-99.to stop):-99- The smallest number.was:1 The largest number.was: -552Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started