how to write an algorithm to display first n multiples of 5?
Answers
Answered by
1
Explanation:
Take number n as input.
for(i=1;i<=5;i++) //as first five multiples are required.
p=n*i;
printf("%d ",p);
end of loop.
end of program
Similar questions
Math,
4 months ago
Computer Science,
4 months ago
Math,
9 months ago
English,
9 months ago
Science,
1 year ago
Accountancy,
1 year ago