write a java program with function is composite() to check whether entered number is composite or not.
Answers
Answered by
1
hey
refer the attachment hope its help u
Attachments:
Answered by
0
Answer:
Input : n = 21
Output: Yes
The number is a composite number!
Input : n = 11
Output : No
Here's the program. Mark me as brainliest
Similar questions
Math,
2 days ago
Social Sciences,
4 days ago
Social Sciences,
4 days ago
English,
8 months ago
History,
8 months ago
Science,
8 months ago