Contoh Program Repeat Until Pascal

SHARE:

uses wincrt; { program KRS sederhana dalam dua versi bahasa} var total,IP:real; sks,x:integer; mk:string; begin writeln (‘ SELAMAT DATANG DA...


uses wincrt;
{ program KRS sederhana dalam dua versi bahasa}
var total,IP:real;
sks,x:integer;
mk:string;
begin
writeln (‘ SELAMAT DATANG DALAM PENGISIAN KRS ‘);
writeln (‘ 1. dalam versi bahasa jawa’);
writeln (‘ 2. dalam versi bahasa indonesia’);
write (‘pilih versi = ‘);read (x);
if (x= 1) then
begin
write (‘lebokno nilai IP semestermu = ‘); readln (IP);
total:= 0;
if (IP < =1.2)then
begin
write ('kowe nduwe jatah sks = 12');
repeat
begin
write (' lebokno mata kuliah seng arep mbok jipuk = ');readln (mk);
write (' lebokno sks mata kuliah seng mbok jipuk = '); readln (sks);
total:= total+sks
end;
until (total =12);
write (' jatah sks mu wis entek');
end;
if ( IP <= 2) then
begin
writeln ('kowe nduwe jatah sks = 21');
repeat
begin
write (' lebokno mata kuliah seng arep mbok jipuk = ');readln (mk);
write ('lebokno sks mata kuliah seng mbok jipuk = ');readln (sks);
total:= total + sks
end;
until ( total= 21);
write ('jatah sksmu wis entek');
end;
if ( IP >= 3 ) then
begin
writeln (‘ kowe nduwe jatah sks = 24′);
repeat
begin
write (‘lebokno mata kuliah seng arep mbok jipuk = ‘);readln (mk);
write (‘lebokno sks mata kuliah seng mbok jipuk = ‘);readln (sks);
total:= total + sks
end;
until (total = 24);
write (‘jatah sksmu wis entek’);
end;
if ( IP < 3) then
begin
writeln ('kowe nduwe jatah sks = 22');
repeat
begin
write (' lebokno mata kuliah seng arep mbok jipuk = ');readln (mk);
write (' lebokno sks mata kuliah seng mbok jipuk = ');readln (sks);
total:=total + sks
end;
until (total = 22);
write ('jatah sksmu wos entek');
end;
end;
if (x = 2) then
begin
write ('masukan nilai IP semester = '); readln (IP);
total:= 0;
if ( IP <= 2) then
begin
writeln ('anda mempunyai jatah sks = 21');
repeat
begin
write (' input mata kuliah yang akan anda ambil = ');readln (mk);
write ('input sks mata kuliah yang anda ambil = ');readln (sks);
total:= total + sks
end;
until ( total= 21);
write ('jatah sks anda sudah habis');
end;
if ( IP >= 3 ) then
begin
writeln (‘ anda mempunyai jatah sks = 24′);
repeat
begin
write (‘input mata kuliah yang akan anda ambil= ‘);readln (mk);
write (‘input sks mata kuliah yang anda ambil= ‘);readln (sks);
total:= total + sks
end;
until (total = 24);
write (‘jatah sks anda sudah habis’);
end;
if ( IP < 3) then
begin
writeln (‘anda mempunyai jatah sks = 22′);
repeat
begin
write (‘ input mata kuliah yang akan anda ambil = ‘);readln (mk);
write (‘ input sks mata kuliah yang anda ambil = ‘);readln (sks);
total:=total + sks
end;
until (total = 22);
write (‘jatah sks anda sudah habis’);
end;
end;
end.



Sumber : www.nusinau.com

COMMENTS

BLOGGER
Nama

Aneh,19,article,24,Basis Data,3,Berita Heboh,58,Bisnis Online,2,BlackBerry,3,Blogger,5,business,5,celeb hot,11,Cinta,3,Coretan,3,ebook,3,English,1,Euro,1,Filosofi Hidup,1,fitnes,1,Funny,6,Games,1,Gaya Hidup,23,gosip,3,Hari Raya,1,Harvest Moon,1,Hidup sehat,11,Hindhu,2,Info,13,Info kesehatan,34,inspirasi,10,Instalasi,1,Internet,1,Jaringan,1,Jaringan Komputer,5,Java,4,k,1,KALKULUS,2,Karir,1,kata mutiara,2,Kehamilan,6,Kehidupan,9,kencan,4,Kisahku,6,Komik,1,Komputer,13,Kosmo,4,Liga Champions,1,Linux,1,Logika Matematika,2,MADRIDISTA,10,Manajemen Proyek,1,Materi Kuliah,1,Metode Numerik,1,Moodle,1,Motivasi,4,news,11,Pascal,17,Pemograman,14,Real Madrid,12,repeat-until,1,Sains,8,Sejarah,1,Seni dan budaya,4,Sepak Bola,5,Sexy,1,Sistem Informasi,4,Skandal,2,Statistika,2,Struktur Data,2,Teknik Informatika,2,Teknologi,6,TI,1,tips,23,tips Blog,14,Tips Kehamilan,9,tips kesehatan,20,tips rumah tangga,10,tokoh,5,Ubuntu,1,Unindra,17,Vixion,2,
ltr
item
Blog elearning - Panduan SEO - Artikel Viral - Reyditz 88: Contoh Program Repeat Until Pascal
Contoh Program Repeat Until Pascal
Blog elearning - Panduan SEO - Artikel Viral - Reyditz 88
https://reyditz88.blogspot.com/2012/01/contoh-program-repeat-until-pascal.html
https://reyditz88.blogspot.com/
http://reyditz88.blogspot.com/
http://reyditz88.blogspot.com/2012/01/contoh-program-repeat-until-pascal.html
true
3190341216200821819
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy