Тёмный

Java - Fahrenheit to Celsius (and vice versa) Tutorial! Temperature Calculator in Java and Eclipse! 

xxRafael Productions - Rafael Vicuna
Подписаться 8 тыс.
Просмотров 25 тыс.
50% 1

Making a temperature conversion program in Java! Fahrenheit to Celsius and Celsius to Fahrenheit! I will also show how to use a Scanner in java to take in user input as well! Enjoy! If this helped you out, leave a like and subscribe! This also works on IntelliJ or any other Java IDE, as long as you have the same code + utils imported!
Skype: rafa.v35
Twitter: vicunarafael864
instagram: vicunarafael86 #linuxtutorialvideos #ubuntututorialvideos #ubuntulearningtutorial #centostutorialvideos #centosadministrationtutorial #learninghowtoprogramgames #learningunityprogramming #simplecodingtutorial #easycodingtutorials #veryeasycodingtutorials #unityeasygametutorial

Развлечения

Опубликовано:

 

5 янв 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 12   
@adonbush4465
@adonbush4465 Год назад
Thank you! You explained it very well!
@fazilaqurbanali1012
@fazilaqurbanali1012 2 года назад
thanks heaps for perfect explanation
@pptx08
@pptx08 2 года назад
Thank you! New subscriber here!
@anujverma6100
@anujverma6100 Год назад
Very good video bro
@Princekai0
@Princekai0 Год назад
Amazing video❤! Please more coding
@029mdshahidhussain4
@029mdshahidhussain4 Год назад
thank you so much
@OHHS2
@OHHS2 11 месяцев назад
Thank you❤❤
@verdijb2552
@verdijb2552 2 года назад
thx a lot
@FrinceHerlPastrana
@FrinceHerlPastrana Год назад
Salamat talaga HAHAHA kanina pa ako hanap ng hanap ng tutorial
@FrinceHerlPastrana
@FrinceHerlPastrana Год назад
Time check : 3:11am 🥲
@baohuycfalcon8486
@baohuycfalcon8486 2 года назад
i get an exception error if i print out this programm
@kostasgoggakhs617
@kostasgoggakhs617 Год назад
import java.util.Scanner; public class fahrenheit { static double celsius; static double fahrenheit; public static void main(String[] args) { Scanner scan = new Scanner(System.in); System.out.println("fahrenheit to celsius (1) OR Celsius to Fahrenheit (2) "); int result= scan.nextInt(); if(result == 1) { //calculate fahrenheit to celsius System.out.println("You have chosen FAHRENHEIT to CELCIUS!"); System.out.println("Enter Fahrenheit Value:"); double value = scan.nextDouble(); double valueFinal = (value-32)*5/9; celsius=(Math.round(valueFinal*10.0)/10.0); System.out.println("Celsius:"+celsius); }else if(result == 2 ) { // calculate celsius to fahrenheit System.out.println("You have chosen CELCIUS to FAHRENHEIT! "); System.out.println("Enter Celcius value: "); double value2 = scan.nextDouble(); double finalResult = value2 * 1.8 +32; fahrenheit=(Math.round(finalResult*10.0)/10.0); System.out.println("Fahrenheit is:"+fahrenheit); }else { // Any numbe that is not 1 or 2 System.out.println("Not a valid choice!"); } } }
Далее
НУБ ИЩЕТ ЖЕНУ В GTA SAMP
22:34
Просмотров 301 тыс.
Linux on Windows......Windows on Linux
23:54
Просмотров 200 тыс.
Winning Facebook (Meta) Hacker Cup Qual Round 2022?
53:55
I tried to make a Valorant AI using computer vision
19:23
.equals() vs. == in Java - The Real Difference
8:48
Просмотров 180 тыс.
My Unconventional Coding Story | Self-Taught
27:14
Просмотров 566 тыс.
Java program to convert Fahrenheit to celcius
3:29
Просмотров 17 тыс.
Learn Java in 14 Minutes (seriously)
14:00
Просмотров 4,6 млн
5.6. Celsius Temperature Table - Java
34:13
Просмотров 7 тыс.
помолодела получается 🤣
0:12