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.
Auf dieser Seite können Sie das Online-Video Temperature Calculator in JAVA || Writing Correct Expressions mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Crazy Programming 03 Mai 2022 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 35 Mal angesehen und es wurde von 6 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!