# include
# include
# define phi 3.14
void main ()
{
float r,L,K;
cout <<"\n= LUAS & KELILING LINGKARAN =";
cout <<"\n\n";
cout <<"\nMasukkan jari-jari = ";
cin >>r;
cout <<"\nphi = " <
L = phi*r*r;
K = 2*phi*r;
cout <<"\n\n";
cout <<"\n= HASIL =";
cout <<"\n\n";
cout <<"\nLuas = "<
cout <<"\nKeliling = "<
getch();
}
0 comments: on "Pemrograman C++ Mencari Luas Lingkaran"
Post a Comment