write a prgrm to check a no is prime or not.
Answers
Answered by
0
Answer:
Example: Program to Check Prime Number
Enter a positive integer: 29 29 is a prime number. If the for loop terminates when the test expression of loop i <= n/2 is false, the entered number is a prime number. The value of flag is equal to 0 in this case.
Explanation:
mark me in brainlist
Answered by
2
hope it helps u. . . . . . .
Attachments:
Similar questions
Geography,
6 months ago
Math,
6 months ago
Physics,
11 months ago
Physics,
11 months ago
Social Sciences,
1 year ago
Social Sciences,
1 year ago