KALIMAT DESKRIPTIF
mulai
input n celcius
input n fahrenhit
input n reamur
hitung
n fahrenhit =n celcius*1.8+32
n reamur = n celcius*0.8
tampilkan n fahrenhit
tampilkan n reamur
selesai
algoritma= konversi suhu
deklarasi :
n celcius, n fahrenhit, n reamur : float
deskripsi:
read (n celcius)
n fahrenhit-celcius*1.8+32
n reamur-n celcius*0.8
write (n fahrenhit)
write (n reamur)
mulai
input n celcius
input n fahrenhit
input n reamur
hitung
n fahrenhit =n celcius*1.8+32
n reamur = n celcius*0.8
tampilkan n fahrenhit
tampilkan n reamur
selesai
algoritma= konversi suhu
deklarasi :
n celcius, n fahrenhit, n reamur : float
deskripsi:
read (n celcius)
n fahrenhit-celcius*1.8+32
n reamur-n celcius*0.8
write (n fahrenhit)
write (n reamur)
Komentar
Posting Komentar