Temperature Calculator in JAVA || Writing Correct Expressions

Опубликовано: 03 Май 2022
на канале: 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.


На этой странице сайта вы можете посмотреть видео онлайн Temperature Calculator in JAVA || Writing Correct Expressions длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Crazy Programming 03 Май 2022, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 35 раз и оно понравилось 6 зрителям. Приятного просмотра!