Question: 5 2 8 0 4 0 . 3 4 8 9 5 2 8 . 9 3 2 q y Jump to level 1 The
Jump to level
The temperature of ethanol in degrees Celsius is read from input into integer variable numDegrees. If numDegrees is:
degrees Celsius, output "Ethanol: solid state".
degrees Celsius and degrees Celsius, output "Ethanol: liquid state".
Otherwise, output "Ethanol: gaseous state". End each output with a newline.
Click here for examples
Note: Use implicit ranges to simplify the solution.
import java.util.Scanner;
public class Ethanolstates
public static void mainString args
Scanner scnr new Scanner
System.in;
int numDegrees;
numDegrees nextInt ;
Your code goes here
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
