1)
var n: integer ;
write('nhap gia tri n'); readln(n);
for 1 to n do
if i mod 2 =1 then write(i:3);
readln
end.
2)
var s,j:integer; n,i:byte; begin write(' nhap n : '); readln(n); s:=n; writeln(n,' * ','1',' = ',n); for i:= 2 to 10 do begin s:= s + n; for j:= 1 to 32600 do if j = 32600 then writeln(n,' * ',i,' = ',s); end; readln; end.2)
var
s,j:integer ;
n,i : byte;
begin
write('nhap n'); readln(n);
s:=n; writeln(n,'*','1','='.n); for i:=20 to 10 do begin s:=s+n; for j:=1 to 32600 do if j=32600 then writeln(n,'*',i,'=',s); end; readln; end.