By using NetBeans software to: Write a java program to convert weather temperature from Fahrenheit to Celsius. The program should consider these points: Storing the current weather temperature in Fahrenheit in float variable. Storing the conversion in float variable by using the float formula: T(°C) = ( T(°F) - 32 ) ÷ 1.8 Declare a variable that checks if the weather temperature (in Celsius) is larger than 37 or not: If larger than 37, print [The weather is hot: true] If smaller than 37 , print [The weather is hot: false]

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter2: Using Data
Section: Chapter Questions
Problem 13PE
icon
Related questions
Question
I need the answer as soon as possible
By using NetBeans software to:
Write a java program to convert weather temperature from Fahrenheit to Celsius. The
program should consider these points:
Storing the current weather temperature in Fahrenheit in float variable.
Storing the conversion in float variable by using the float formula:
T(°C) = ( T(°F) - 32 ) ÷ 1.8
Declare a variable that checks if the weather temperature (in Celsius) is larger than
37 or not:
If larger than 37, print [The weather is hot: true]
If smaller than 37 , print [The weather is hot: false]
Transcribed Image Text:By using NetBeans software to: Write a java program to convert weather temperature from Fahrenheit to Celsius. The program should consider these points: Storing the current weather temperature in Fahrenheit in float variable. Storing the conversion in float variable by using the float formula: T(°C) = ( T(°F) - 32 ) ÷ 1.8 Declare a variable that checks if the weather temperature (in Celsius) is larger than 37 or not: If larger than 37, print [The weather is hot: true] If smaller than 37 , print [The weather is hot: false]
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning