Question: Q3) Write a program that converts the weather from Celsius to Fahrenheit in a specific day. The program should execute the following: a. Read the

Q3) Write a program that converts the weather from Celsius to Fahrenheit in a specific day. The program should execute the following:

a. Read the day as a string input and the weather in Celsius as integer input.

b. Convert the weather degree from Celsius to Fahrenheit, using following equation: Fahrenheit = 9/5.0 * Celsius + Constant, where Constant is always 32, the weather in Fahrenheit should be decimal number.

c. The program should implement a casting operation d. The program should implement a constant variable

e. The program should run as following: (Note the use of tab character in the last message)

Q3) Write a program that converts the weather from Celsius to Fahrenheit

language JAVA

debug: Enter the day: Monday Enter the weather in celsius: 43 The weather in Fahrenheit= 109.4, day is Monday BUILD SUCCESSFUL (total time: 7 seconds)

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!