Write a program to input 100 integers in an array, Display all the Composite Numbers from the array along
with its frequency (i.e. number of Composites present in the array). A Composite number is one which has
more than two factors, e.g. 10 (as it has four factors), 12 (as it has six factors).
Answers
Answered by
0
Explanation:
Input: N = 24
Output: 5
1, 2, 3, 4, 6, 8, 12 and 24 are the factors of 24.
Out of which only 4, 6, 8, 12 and 24 are composites.
Input: N = 100
Output: 6
please give me brainleist
Similar questions