TUGAS KE 6 ALGORITMA DAN PEMOGRAMAN

MATHEOS ADAM LETKO
    201712022
      REG.B

program penilaian;
uses crt;
var nilai:integer;
begin
write('masukkan nilai anda :'); readln(nilai);
if nilai >=85 then writeln('nilai A')
else if nilai>=75 then writeln('nilai B')
else if nilai>=65 then writeln('nilai C')
else writeln('nilai D');
readln;
end. 

Previous
Next Post »
Thanks for your comment