c program to help shop owner with his product storage, so that all products with an id that as prime number can be stored together.followed by the product with an id that is a non prime number
Answers
Answered by
0
Answer:
Input: num = 10
Output: Product is 10
Explanation:
Here, the input number is 10 having only 2 prime factors and they are 5 and 2.
And hence their product is 10.
Input : num = 25
Output: Product is 5
Explanation:
Here, for the input to be 25 we have only one unique prime factor i.e 5.
And hence the required product is 5.
Similar questions
Math,
6 hours ago
Psychology,
6 hours ago
Social Sciences,
6 hours ago
Hindi,
12 hours ago
Math,
12 hours ago
Math,
8 months ago
Math,
8 months ago
English,
8 months ago