Selamat datang di maiav3.blogspot.com => Blog "TANPO ASMO"

SCRIPT C++_VOLUME TABUNG

Jumat, 18 Januari 20130 komentar


//judul program : Rumus Volume Tabung
//created by maiaachiea

#include <iostream.h>
#include <conio.h>
#include <math.h>

void main () {
float phi=3.14, r, t, Volume;
cout<<"INGIN TAU VOLUME TABUNG...??"<<endl<<endl;
cout<<"MASUKKAN JARI-JARI = ";
cin>>r;
cout<<"MASUKKAN TINGGI = ";
cin>>t;

Volume = phi*r*r*t;

cout<<"jadi hasilnya adalah....."<<endl<<endl;
cout<<"VOLUME TABUNG = "<<Volume<<endl<<endl;

cout<<"*SELAMAT BELAJAR,SEMOGA SUKSES*"<<endl<<endl;

}
Share this article :

Posting Komentar

 
Support : Maia Achiea Template
Copyright © 2011. .: ^_^ :. - All Rights Reserved
Proudly powered by Blogger