Computer Science, asked by arch721000, 7 months ago

how to write an algorithm to display first n multiples of 5?

Answers

Answered by jyotivaish1976
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