uses crt;
var
nilai:byte;
begin
clrscr;
Write('masukkan Nilai anda =');Readln(nilai);
if nilai>0 then
begin
Writeln('GRADE = O ');
Writeln('Besar biaya = Rp.550000');
end
else
if nilai<=1 then
begin
Writeln('GRADE = E ');
Writeln('Besar biaya = Rp.450000');
end
else
if nilai<=40 then
begin
Writeln('GRADE = D');
Writeln('Besar biaya = Rp.350000');
end
else
if nilai<=60 then
begin
Writeln('GRADE = C');
Writeln('Besar biaya = Rp.250000');
end
Else
if nilai<=70 then
begin
Writeln('GRADE = B');
Writeln('Besar biaya = Rp.150000');
end
else
begin
If nilai >=100 then
Writeln('GRADE = A');
Writeln('Besar biaya = Rp.50000');
end;
readln;
end.
Program Pencari Biaya Dan Grade
Posted by
Rizki
Kamis, 25 Maret 2010
0 comments:
Posting Komentar