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 .
0 of .
Results for:
P. 1
Penggunaan Case Of pada bangun ruang

# Penggunaan Case Of pada bangun ruang

Ratings:
(0)
|Views: 312|Likes:
Penggunaan Case Of pada bangun ruang pada pascal
Penggunaan Case Of pada bangun ruang pada pascal

Published by: Antonio Grafiko on May 13, 2009

### Availability:

Read on Scribd mobile: iPhone, iPad and Android.
See more
See less

09/16/2012

pdf

text

original

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.