Write a C program to check whether a number is Prime number or not using while & for loop
belongs to collection: C Language Loop Programs with Examples
All Answers
total answers (1)
belongs to collection: C Language Loop Programs with Examples
total answers (1)
Check whether a number is Prime number or not using while loop
Check whether a number is Prime number or not using for loop
Result:
Enter a number: 19
19 is a Prime Number
need an explanation for this answer? contact us directly to get an explanation for this answer