Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
112Activity
0 of .
Results for:
No results containing your search query
P. 1
Contoh Program Pascal

Contoh Program Pascal

Ratings: (0)|Views: 9,853 |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
Dian MoEt liked this
pengen banget bisa beljar pascal
Thomas Susilo liked this
Ortodeto Yunior liked this
Rheya SikliQuers liked this
Setyawan Sang Pemimpi added this note
bermanfaat ..

You're Reading a Free Preview

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