Program Pembayaran FotoCopy Menggunakan Pascal

Program Pembayaran_FotoCopy;
uses crt;
var
lembar:integer;
biaya:real;
begin
clrscr;
write(‘Jumlah lembar fotocopy= ‘);
readln(lembar);
if lembar 100)and(lembar <=200)
then biaya:=lembar*80
else biaya:=lembar*50;
writeln('Biaya Total =Rp.',biaya:6:2,' ';
readln;
end.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s

%d blogger menyukai ini: