#include <cstdlib>
#include <iostream>
using namespace std;
int main(int argc, char *argv[])
int phi,r,hasil;
phi = 3.14;
cout << "masukan nilai r: "<<endl;
cin >> r;
hasil = 3*phi*r*r;
cout << "hasil jari jari = "<<hasil<<"\n";
system("PAUSE");
return EXIT_SUCCESS;
}
output program
0 comments:
Posting Komentar