Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

int main()

int n,i,c=0

clrscr()

printf("Enter the number : ")

scanf("%d",&n)

i=2

i<n

 False   True 

c==0 n%i==0

 False   True   True 

printf("\nnot aprime number\n") printf("\nprime\n")  False  c++

getch() i++

We use cookies and local storage to improve user experience I Understand ()

You might also like