#include<iostream>
using namespace std;
int main() {
/**DEKLARASI**/
float K,r;
const float phi=3.14;
/*ALGORITMA*/
cout<<"PROGRAM PENGHITUNGAN KELILING LINGKARAN"<<endl;
cout<<"r="; cin>>r;
K=2*phi*r;
cout<<"Keliling Lingkaran="<<K<<endl;
system("PAUSE");
}
No comments:
Post a Comment