Question: A customer requires a program that will prompt the user to enter the daily high temperature for a 7-day period. Create an array called (temps)
A customer requires a program that will prompt the user to enter the daily high temperature for a 7-day period. Create an array called (temps) and store the values in the array. All of this can be done in one class where the main method, and all other methods will be in the same file, so the keyword static must be used in your method signatures. The Scanner is to be used to scan in the daily temperatures from the user and the Scanner is only to be used in the main method.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
