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 / neetu singh

#include<iostream.h>
#include<conio.h>
void main()
{
int n,i;
for(i=0;i<10;i++)
{
if(n<=o)
}
{
cout<<"number is prime");
cout<<"number is not prime");
getch();
}

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is omp_num_threads?

1090


What is the best way of making my program efficient?

1040


explain what are pointers?

1021


What is LINKED LIST? How can you access the last element in a linked list?

1075


Explain how can I convert a string to a number?

1104


can anyone suggest some site name..where i can get some good data structure puzzles???

2087


How do you print only part of a string?

1023


How is a structure member accessed?

1136


Explain how can I open a file so that other programs can update it at the same time?

1121


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

1172


What are volatile variables in c?

953


What is static and auto variables in c?

1091


What is the scope of static variable in c?

1026


Difference between constant pointer and pointer to a constant.

1154


What is signed and unsigned?

1067