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

SCRIPT C++_BUJUR SANGKAR

Jumat, 18 Januari 20130 komentar


//Judul program : Rumus Luas dan Keliling Bujur Sangkar
//created by maiaachiea

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

void main () {
int s, Luas, Keliling;
cout<<"INGIN TAU LUAS DAN KELILING BUJUR SANGKAR...??"<<endl<<endl;
cout<<"MASUKKAN SISI = ";
cin>>s;


Luas= 4*s;
Keliling= s*s;

cout<<"jadi hasilnya adalah....."<<endl<<endl;
cout<<"LUAS BUJUR SANGKAR = "<<Luas<<endl;
cout<<"KELILING BUJUR SANGKAR = "<<Keliling<<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