Question: I need help with this code: Java Which Day Is The Coldest? Given three variables, fridayTemp, saturdayTemp, and sundayTemp, that represent a low temperature for
I need help with this code: Java
Which Day Is The Coldest?
Given three variables, fridayTemp, saturdayTemp, and sundayTemp, that represent a low temperature for Friday, Saturday, and Sunday. Write code that will determine which day is the coldest and print to the console which day it is: "Friday", "Saturday" or "Sunday".
This is what is imputted:
import java.io;
import java.util.;
import java.text.;
import java.math.;
import java.util.regex.;
public class CodingQuestion
static void coldestDaydouble fridayTemp, double saturdayTemp, double sundayTemp
WRITE YOUR CODE HERE
Write your conditional statements and appropriate print statements here
DO NOT CHANGE THE CODE BELOW THIS LINE
public static void mainString args
Scanner in new ScannerSystemin;
double fridayTemp, saturdayTemp, sundayTemp;
fridayTemp innextDouble;
saturdayTemp innextDouble;
sundayTemp innextDouble;
coldestDayfridayTemp saturdayTemp, sundayTemp;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
