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
What is omp_num_threads?
What is the best way of making my program efficient?
explain what are pointers?
What is LINKED LIST? How can you access the last element in a linked list?
Explain how can I convert a string to a number?
can anyone suggest some site name..where i can get some good data structure puzzles???
How do you print only part of a string?
How is a structure member accessed?
Explain how can I open a file so that other programs can update it at the same time?
Can include files be nested? How many levels deep can include files be nested?
What are volatile variables in c?
What is static and auto variables in c?
What is the scope of static variable in c?
Difference between constant pointer and pointer to a constant.
What is signed and unsigned?