Temperature Calculator in JAVA || Writing Correct Expressions

Pubblicato il: 03 maggio 2022
sul canale di: 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.


In questa pagina del sito puoi guardare il video online Temperature Calculator in JAVA || Writing Correct Expressions della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Crazy Programming 03 maggio 2022, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 35 volte e gli è piaciuto 6 spettatori. Buona visione!