Saturday, March 8, 2014

progam input output di pemrograman pascal

uses crt;
var
nama,jenis_kelamin,alamat,no_hp:string;
usia:byte;
begin
writeln('Selamat datang di program BIOADATA');
writeln;
write('Nama            : ');readln(nama);
write('Usia            : ');readln(usia);

write('Jenis kelamin   : ');readln(jenis_kelamin);
write('Alamat          : ');readln(alamat);
write('No. telepon/HP  : ');readln(no_hp);
writeln;
writeln(nama);
writeln(usia);
writeln(jenis_kelamin);
writeln(alamat);
writeln(no_hp);
writeln;
writeln('Terimakasih');
end.

No comments:

Post a Comment