What do you want to save?
Add Code snippet
New code examples
-
C 2021-11-04 01:15:13
prime or composite in c using function
#include<stdio.h> int prime_composite(int num); void main() { int n,ret; printf ("Enter a number: "); scanf ("%d",&n); ret = prime_composite(n); if(ret == 2 ) printf("\nThe number is Prime\... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5