Stsn6's Weblog

Akan Selalu Memberikan Yang Terbaik Untuk Negara

Konversi celcius ke Fahrenheit dan Reamur

#include <stdio.h>
main()
{
float celcius, fahrenheit, reamur;

printf(“masukkan nilai celcius ?”);
scanf(“%f”, &celcius);

fahrenheit = celcius * 1.8 + 32;

reamur = celcius * 0.8;

printf(“%f celcius adalah %f fahrenheit dan %f reamur \n”, celcius, fahrenheit, reamur);
getche();
}

oleh:

Daniel Melando

Tingkat 1 tehnik persandian

April 29, 2008 - Posted by | Uncategorized

Belum ada komentar.

Tinggalkan Balasan

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Ubah )

Twitter picture

You are commenting using your Twitter account. Log Out / Ubah )

Facebook photo

You are commenting using your Facebook account. Log Out / Ubah )

Connecting to %s

Ikuti

Get every new post delivered to your Inbox.