viet phuong trinh in ra tu bang nhan tu 1den 9 16/07/2021 Bởi Faith viet phuong trinh in ra tu bang nhan tu 1den 9
program hotrotinhoc; var N,i:integer; Begin write(‘nhap so N=’); readln(N); writeln(‘bang nhan,’,N); for i:=1 to n do writeln(N,’x’,i,’=’,N*i); readln end. Bình luận
uses crt; var i,n:integer; begin write(‘nhap n=’);readln(n); writeln(‘bang nhan’,n); for i:=1 to 10 do writeln(n,’ x ‘,i:2,’ = ‘,n*i:3); readln end. Bình luận
program hotrotinhoc;
var N,i:integer;
Begin
write(‘nhap so N=’); readln(N);
writeln(‘bang nhan,’,N);
for i:=1 to n do writeln(N,’x’,i,’=’,N*i);
readln
end.
uses crt;
var i,n:integer;
begin
write(‘nhap n=’);readln(n);
writeln(‘bang nhan’,n);
for i:=1 to 10 do writeln(n,’ x ‘,i:2,’ = ‘,n*i:3);
readln
end.