Tag Archives: Celsius

Program Javascript untuk Mengubah Celsius ke Fahrenheit

Anda dapat mengonversi nilai celsius menjadi fahrenheit dengan menggunakan rumus: fahrenheit = celsius * 1.8 + 32 Contoh: Celsius ke Fahrenheit // program to convert celsius to fahrenheit // ask the celsius value to the user const celsius = prompt(“Enter a celsius value: “); // calculate fahrenheit const fahrenheit = (celsius * 1.8) + 32 […]