PROGRAM MENGHITUNG LINGKARAN

0
PROGRAM MENGHITUNG LINGKARAN


# include
# include
# include
#define phi 3.14
int main ()
{
float r,L,K;

cout <<"\nLUAS & KELILING LINGKARAN ";
cout <<"\n\n";
cout <<"\nMasukkan jari-jari = "; cin >>r;

L=phi*r*r;
K=2*phi*r;

cout <<"\n HASIL ";
cout <<"\n";
cout <<"\nLuas = " <cout <<"\nKeliling = " <
getch();
}

Posting Komentar

0Komentar

Please Select Embedded Mode To show the Comment System.*