Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
Luas Dan Keliling Bidang Datar

Luas Dan Keliling Bidang Datar

|Views: 1,430|Likes:
Published by budi anton

More info:

Categories:Types, School Work
Published by: budi anton on Nov 12, 2009
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less





Luas Dan Keliling Bidang Datar#include "conio.h"#include "iostream.h"#define phi 3.14void main() {float tg, al, ss, lb, ls, kll, lj, r;int bgn;do {clrscr ();cout<<"==========================\n" ;cout<<"| MENU |\n";cout<<"==========================\n" ;cout<<"|1. Segitiga |\n";cout<<"|2. Persegi |\n";cout<<"|3. Persegi Panjang |\n";cout<<"|4. Lingkaran |\n";cout<<"|5. Jajar Genjang |\n";cout<<"|6. Belah Ketupat |\n";cout<<"|7. Trapesium |\n";cout<<"|8. Keluar . . . |\n";cout<<"==========================\n" ;cout<<"Masukan Pilihan Anda : ";cin>>bgn;cout<<"==========================\n";switch(bgn) {case 1 : cout<<"\nMasukan Tinggi Segitiga : ";cin>>tg;cout<<"Masukan Lebar Alas Segitiga : ";cin>>al;cout<<"Masukan Sisi Segitiga : ";cin>>ss;ls = 0.5*tg*al;kll = ss+ss+ss;cout<<"\nLuas Segitiga Adalah "<cout<<"\nKeliling Segitiga Adalah "<cout<<"\n\nAnda ingin melanjutkan proses (ya = 1/ no = 0): ";cin>>lj;break;case 2 : cout<<"\nMasukan Sisi Persegi : ";cin>>ss;kll = 4*ss;ls = ss*ss;cout<<"\nLuas Persegi Adalah "<cout<<"\nKeliling Persegi Adalah "<cout<<"\n\nAnda ingin melanjutkan proses (ya = 1/ no = 0): ";cin>>lj;
break;case 3 : cout<<"\nMasukan Panjang Persegi Panjang : ";cin>>ss;cout<<"Masukan Lebar Persegi Panjang : ";cin>>lb;kll = 2*(ss+lb);ls = ss*lb;cout<<"\nLuas Persegi Panjang Adalah "<cout<<"\nKeliling Persegi Panjang Adalah "<cout<<"\n\nAnda ingin melanjutkan proses (ya = 1/ no = 0): ";cin>>lj;break;case 4 : cout<<"\nMasukan Jari - Jari Lingkaran : ";cin>>r;kll = phi*(r+r);ls = phi * r * r;cout<<"\nLuas Lingkaran Adalah "<cout<<"\nKeliling Lingkaran Adalah "<cout<<"\n\nAnda ingin melanjutkan proses (ya = 1/ no = 0): ";cin>>lj;break;case 5 : cout<<"\nMasukan Panjang Sisi Jajar Genjang : ";cin>>ss;cout<<"Masukan Lebar Sisi Jajar Genjang : ";cin>>lb;cout<<"Masukan Alas Jajar Genjang : ";cin>>al;cout<<"Masukan Tinggi Jajar Genjang : ";cin>>tg;kll = 2*(ss+lb);ls = tg*al;cout<<"\nLuas Jajar Genjang Adalah "<cout<<"\nKeliling Jajar genjang Adalah "<cout<<"\n\nAnda ingin melanjutkan proses (ya = 1/ no = 0): ";cin>>lj;break;case 6 : cout<<"\nMasukan Panjang Sisi Belah Ketupat : ";cin>>ss;cout<<"Masukan Lebar Sisi Belah Ketupat : ";cin>>lb;cout<<"Masukan Panjang Diagonal Belah ketupat : ";cin>>al;cout<<"Masukan Alas belah Ketupat : ";cin>>tg;kll = 2*(ss+lb);ls = (tg*al)/2;

Activity (8)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Fabiano F M Madeira liked this
Lhåmöetz Gìrl Cheelèdìzzågìtarìus liked this
Tri Putra Agung Priyandana liked this
Ipyet Zeevie liked this
Safran Hasibuan liked this
angujhf liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->