write a program to print the product of any 10 natural numbers which are accepted from the user the program should terminate in the sum becomes a multiple of 5
Answers
Answered by
1
Answer:
Examples :
Input : a = 4, N = 23
Output : sum = 60
[Multiples : 4, 8, 12, 16, 20]
Input :a = 7, N = 49
Output :sum = 196
[Multiples: 7, 14, 21, 28, 35, 42, 49]
Similar questions