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
Penggunaan Case Of pada bangun ruang

Penggunaan Case Of pada bangun ruang

|Views: 312|Likes:
Published by Antonio Grafiko
Penggunaan Case Of pada bangun ruang pada pascal
Penggunaan Case Of pada bangun ruang pada pascal

More info:

Published by: Antonio Grafiko on May 13, 2009
Copyright:Attribution Non-commercial


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





Penggunaan Case Of pada bangun ruang
program bangun_ruang;uses wincrt;const Pi=22/7;varx :integer;a,b,c :real;L1,L2,L3,V :real;beginwriteln(' ------------------------------------');writeln(' ------- P I L I H A N ------');writeln(' ------------------------------------');writeln(' 1. Tabung');writeln(' 2. Balok');writeln(' 3. Prisma');writeln(' 4. Limas segi empat beraturan');writeln(' ------------------------------------');write('jadi pilihan anda:');readln(x);writeln;writeln;
case x of 1: Beginwriteln('--------------------------------------');writeln(' T A B U N G');writeln('--------------------------------------');writeln;write('Masukkan diameter tabung: ');readln(a);write('Masukkan tinggi tabung : ');readln(b);writeln;writeln('Maka :');L1:=Pi*a*b;writeln('Luas selimut tabung adalah: ',L1:0:2);L2:=Pi*sqr(a/2);writeln('Luas alas tabung adalah : ',L2:0:2);V:=L2*b;writeln('Volume tabung adalah : ',V:0:2);L3:=L1+(2*L2);writeln('Luas tabung adalah : ',L3:0:2);writeln('--------------------------------------');
end;2: Beginwriteln('--------------------------------------');writeln(' B A L O K');writeln('--------------------------------------');writeln;write('Masukkan panjang balok: ');readln(a);write('Masukkan tinggi balok : ');readln(b);write('Masukkan lebar balok : ');readln(c);writeln;writeln('Maka :');L1:=(2*a*b)+(2*b*c)+(2*a*c);writeln('Luas balok adalah : ',L1:0:2);V:=a*b*c;writeln('Volume balok adalah: ',V:0:2);L3:=4*a+4*b+4*c;writeln('Panjang semua rusuk adalah:',L3:0:2);writeln('--------------------------------------');

Activity (7)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Dian Permata Sari liked this
zigmacell liked this
muh tayyib liked this
muh tayyib liked this
Rezy Fharrow 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)//-->