Question: 5 2 8 0 4 0 . 3 4 8 9 5 2 8 . 9 3 2 q y Jump to level 1 The

528040.3489528.932qy
Jump to level 1
The temperature of ethanol in degrees Celsius is read from input into integer variable numDegrees. If numDegrees is:
-114 degrees Celsius, output "Ethanol: solid state".
>-114 degrees Celsius and 78 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 main(String[] args){
Scanner scnr = new Scanner(
System.in);
int numDegrees;
numDegrees =scnr* nextInt ();
| Your code goes here */
}
}
1
2
3
4
 528040.3489528.932qy Jump to level 1 The temperature of ethanol in degrees

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!