Source Code Java NetBeans Konversi Suhu Celcius Ke Reamur
Program :
package konversisuhucelciuskereamurkumpulanartikel.pkg21blogspotcom;
import java.util.Scanner;
public class KonversiSuhuCelciusKeReamurKumpulanArtikel21Blogspotcom {
public static void main(String[] args) {
Scanner masukan = new Scanner (System.in);
float celcius, reamur;
System.out.print("Masukan Nilai Suhu(Celcius):");
celcius = masukan.nextFloat();
reamur = 0.8f*celcius;
System.out.print("Nilai suhu Reamur dari Input:");
System.out.println(reamur);
}
}
Output :