Question #40035

write a program that will input a number,then display the first 10 multiples of that number.
1

Expert's answer

2014-03-17T14:50:05-0400

Answer on Question#40035 – Programming – Delphi | Pascal


program question40035;
const c = 10;
var i,n: integer;
begin
writeln('Please enter number:');
readln(n);
for i:= 1 to c do
begin
writeln(inttostr(n), ' * ', inttostr(i), ' = ', inttostr(n*i));
end;
readln;
end.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS