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,
3 months ago
Social Sciences,
3 months ago
Math,
7 months ago
English,
7 months ago
Math,
11 months ago
Science,
11 months ago
Accountancy,
11 months ago