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

SCRIPT C++_VOLUME BALOK

Jumat, 18 Januari 20131komentar


//judul program : rumus volume balok
//created by maiaachiea

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

void main () {
int p,l,t, Volume;
cout<<"INGIN TAU VOLUME BALOK...??"<<endl<<endl;
cout<<"MASUKKAN PANJANG = ";
cin>>p;
cout<<"MASUKKAN LEBAR = ";
cin>>l;
cout<<"MASUKKAN TINGGI = ";
cin>>t;

Volume = p*l*t;

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

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

}
Share this article :

+ komentar + 1 komentar

18 Januari 2013 pukul 20.59

semoga bermanfaat teman...... ^_^

Posting Komentar

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