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 / vasanth

This program is to check a given number is prime or not
(or) list the prime numbers in a given no.

For example, the user enter the no is 50. the program is
list the prime numbers in 50.

Is This Answer Correct ?    402 Yes 262 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where we use clrscr in c?

1184


Why is sizeof () an operator and not a function?

1088


Here is a good puzzle: how do you write a program which produces its own source code as output?

1166


in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above

1115


What is the use of define in c?

1103


What is the maximum length of an identifier?

1231


Device an algorithm for weiler-atherton polygon clipping, where the clipping window can be any specified polygon

6016


What are the different types of control structures in programming?

1173


What is sizeof return in c?

1086


What is the difference between the expression “++a” and “a++”?

1270


What is volatile variable in c?

1151


What are the application of c?

1157


What are the 3 types of structures?

1063


What is main () in c language?

1185


Can include files be nested? How many levels deep can include files be nested?

1199