Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Download
Standard view
Full view
of .
0 of .
Results for:
No results containing your search query
P. 1
Contoh Program Pascal

Contoh Program Pascal

Ratings:
(0)
|Views: 10,149|Likes:
Published by einjhi

More info:

Published by: einjhi on Jan 21, 2010
Copyright:Attribution Non-commercial

Availability:

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

04/13/2013

pdf

text

original

BeginMasukkanumur andaUmur < 2YKlasifikasianda = bayiUmur < 12Klasifikasianda =anak-anakUmur < 18Klasifikasianda =remajaUmur < 24Klasifikasianda =DewasamudaUmur < 24Klasifikasianda =DewasamudaYYYY
Umur < 40Klasifikasianda =DewasaTuaUmur < 55Klasifikasianda =Orang TuaKlasifikasianda =LansiaYYEnd
By Rony and Riska (^^)
1.Menampilkan umur andaFlow chart :

By Rony and Riska (^^)
Listing program
:Uses wincrt;Var input:integer;Beginwriteln('Nama : Rony Andrew');writeln('NRP : 11-2004-180');writeln('==================');writeln(' ');Write('Masukkan Umur anda = ');readln(input);If input <2 thenWriteln('klasifikasi Anda = Bayi')else If input <12 thenWriteln('klasifikasi Anda = Anak-anak')else If input <18 thenWriteln('klasifikasi Anda = Remaja')else If input <24 thenWriteln('klasifikasi Anda = Dewasa muda')else If input <40 thenWriteln('klasifikasi Anda = Dewasa tua')else If input <55 thenWriteln('klasifikasi Anda = Orang Tua')ElseWriteln('klasifikasi Anda = Lansia');Repeat until keypressedEnd.
Output :

By Rony and Riska (^^)
2.Menampilkan urutan angkaListing Program : program kolom;uses wincrt;var i,j,n:integer; beginwriteln('Nama : Rony Andrew');writeln('NRP : 11-2004-180');writeln('==================');writeln(' ');write('Masukkan angka = ');readln(n);for i:=1 to n dobeginfor j:=1 to n-1 dowrite(j);j:=j+1;writeln(j);end;repeat until keypressed;end.Output :3.Menampilkan urutan sesuai jumlah kolomListing program : program baris;uses wincrt;var i,j,k,n:integer;beginwriteln('Nama : Rony Andrew');writeln('NRP : 11-2004-180');

Activity (112)

You've already reviewed this. Edit your review.
1 hundred reads
1 thousand reads
Nikho Macaner added this note
SEMOGA BISA
NiEatwentyninezerofour' Uddakh Uttuth added this note
pengen banget bisa beljar pascal
Setyawan Sang Pemimpi added this note
bermanfaat ..
Bhayangkara Adri Wijaya added this note
thkkkk....
Dian MoEt liked this
Thomas Susilo liked this
Abram Setyo アバラマ liked this
Yenni Sahrani added this note
thanks buat ka yang membuat blog pascal ini karna udh membntu kami untk mngenal program pascal
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->