Computer Science, asked by geetanagar2509, 3 months ago

WAP to print first 10 multiples of 5, but skip the multiples of 3.

Answers

Answered by srinuthiyagarajan
1

Explanation:

For each multiple of 3, print “Multiple of 3” instead of the number.

For each multiple of 5, print “Multiple of 5” instead of the number.

For numbers which are multiples of both 3 and 5, print “Multiple of 3. Multiple of 5.” instead of the number.

Similar questions