Question: *JAVA CODE* Need to write a code with a class called Influenza . This code should ask the user for their temperature. If the temperature

*JAVA CODE*

Need to write a code with a class called Influenza. This code should ask the user for their temperature. If the temperature is between 103 and 107, the code will tell the person they have influenza, and then the code should tell the user they have to lower their temperature by X DEGREES to get to 98.6 degrees. The code should contain the logical operator AND (&&) in it in regards to the temperatures (t>=103 && t<=107).

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!