Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

write the program for prime numbers?

Answer Posted / avinash

#include<stdio.h>
main()
int 1
{
printf("enter a number");
scanf("%d",1)
}
printf("The number is a prime number");
else
printf("The number is not a prime number");
}

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is union and structure?

1118


Can a pointer be null?

1026


An expression to whose value an operater is applied a) operand b) variable c) constant d) all of the above

1164


how many key words availabel in c a) 28 b) 31 c) 32

1076


To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

2636


What is a stream in c programming?

1147


How can I do peek and poke in c?

1076


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

1773


How can I find out the size of a file, prior to reading it in?

1172


What is difference between constant pointer and constant variable?

1304


What is keyword with example?

1061


What does emoji p mean?

1113


Is c weakly typed?

1021


How many levels of pointers can you have?

1190


Difference between exit() and _exit() function?

1134