Temperature Calculator in JAVA || Writing Correct Expressions

Published: 03 May 2022
on channel: Crazy Programming
35
6

In this video, an exam weightage calculator is created in Netbeans IDE, as the requirements of this program are described below:

(Turn on caption for detail)

Program Name: Temperature

In this task, you are being asked to write a program that converts temperature to Fahrenheit or Centigrade.
1. Create a program called Temperature.java having the main() part.
2. Create a variable called tempCentigrade, and another called tempFahrenheit, both of type double.
3. Assign a value 68.5 to tempFahrenheit and -273.15 to tempCentigrade.
4. Now, you need to convert the value stored in tempCentigrade to Fahrenheit, and the value stored in tempFahrenheit to Centigrade.
5. Use the following two formulae to convert the Centigrade to Fahrenheit, and vice versa:
T(°C) = (T(°F) - 32) × 5/9
T(°F) = T(°C) × 9/5 + 32
6. Print the converted temperatures by giving appropriate messages.
.
.
If you need any help in java programs then contact me through the email given below:
crazy.programming.life@gmail.com
.
Don't forget to subscribe to "Crazy Programming" and do like and comment the video.
.
.
Thanks for watching.


On this page of the site you can watch the video online Temperature Calculator in JAVA || Writing Correct Expressions with a duration of hours minute second in good quality, which was uploaded by the user Crazy Programming 03 May 2022, share the link with friends and acquaintances, this video has already been watched 35 times on youtube and it was liked by 6 viewers. Enjoy your viewing!