Kamis, 22 Maret 2012

program tulisan

program tulisan;
uses crt;
var t:string;
x,y,z:integer;
begin
write('masukkan suatu kata=');readln(t);
x:=length(t);
for y:=0 to x do
begin
for z:=1 to x-y do
write('   ',t[z]);
writeln;
end;
readln;
end.

0 komentar:

Posting Komentar

 
Design by Petotu | Bloggerized by Penyejuk Hati - Copaser Mania | Komunitas Blogger Madura