# include <iostream.h>
# include <conio.h>
void main ()
{
int r,t,volume;
const phi=3.14;
cout<< " PROGAM MENGHITUNG VOLUME TABUNG"<<endl;
cout<< " #######################################\n";
cout << " masukkan tinggi = ";
cin >> t;
cout << " masukkan jari-jari = ";
cin >> r;
volume = phi*r^2*t;
cout<< " jadi volume tabung adalah = "<<volume;
getch();
}
0 comments:
Post a Comment