Write Program Uses Scanner Object Read Doubles Representing Positive Daily Temperatures Pe Q43894823
javaWrite a program that uses a Scanner object to read in doubles representing positive daily temperatures over a period of time. You will need to keep track of the total temperatures that you read in and the lowest temperature that you read in Using a loop your choice on type keep reading in temperatures doubles until you read in. Then print the total number of temperatures that you read in and the lowest temperature Note: iftis entered at the start, then the program won’t print anything Examples Sample input lon one linel Sample Output 10.5 21.5 16.8 12.6 9.2 15.6- 2uJ4574 515 Problem java New X Full Screen Grading Test Case 1 NOT RUN S est Case 2 NOT RUN Test Case 3 NOT RUN Test Case 4 NOT RUN S Test Case 5 Show transcribed image text Write a program that uses a Scanner object to read in doubles representing positive daily temperatures over a period of time. You will need to keep track of the total temperatures that you read in and the lowest temperature that you read in Using a loop your choice on type keep reading in temperatures doubles until you read in. Then print the total number of temperatures that you read in and the lowest temperature Note: iftis entered at the start, then the program won’t print anything Examples Sample input lon one linel Sample Output 10.5 21.5 16.8 12.6 9.2 15.6- 2uJ4574 515 Problem java New X Full Screen Grading Test Case 1 NOT RUN S est Case 2 NOT RUN Test Case 3 NOT RUN Test Case 4 NOT RUN S Test Case 5
Expert Answer
Answer to Write a program that uses a Scanner object to read in doubles representing positive daily temperatures over a period of …
OR