“Fahrenheit ke Formula Celcius” Kode Jawaban

Fahrenheit ke Formula Celcius

cels = (fahr - 32.0) * 5.0/9.0; //Fahr to cels
fahr = (cels * 9.0/5.0) + 32.0; //Cels to fahr  
Silent Knight

Konversi Fahrenheit menjadi Celcius

import java.util.Scanner;

public class Main {

    public static void main(String args[]) {
        Scanner sc = new Scanner(System.in);
        int far = sc.nextInt();
        int cel = (far - 32) * 5/9;
        System.out.printf("%d Fahrenheit is %d Celsius", far, cel);
    }
}
C Will

Formula Celcius ke Fahrenheit

float cel;
printf("Enter celsius value: ");
scanf("%f", &cel);

printf("Fahrenhit value is: %f", cel * (9 / 5) + 32);
Friendly Ferret

Fahrenheit ke Formula Celcius

cels = (fahr-32.0) * 5.0/9.0  //fahr to cels 
fahr = (cels * 9.0/5.0) + 32.0  //cels to fahr 
import java .util .scanner ;
public class main  {
public static void main (string args [J) {
scanner sc=new scanner (system,in);
int far = sc.nextInt ();
int cel = (far - 32) * 5/9
system .out printf ("%d fahreneheit is %d celsius , far , cel);
     }
}
Smoggy Swan

Jawaban yang mirip dengan “Fahrenheit ke Formula Celcius”

Pertanyaan yang mirip dengan “Fahrenheit ke Formula Celcius”

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya