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 are the back slash character constants or escape sequence charactersavailable in c?
how to execute a program using if else condition and the output should enter number and the number is odd only...
What is ponter?
Here is a neat trick for checking whether two strings are equal
Why static is used in c?
What is meant by type casting?
When is a “switch” statement preferable over an “if” statement?
Do string constants represent numerical values?
Is null valid for pointers to functions?
How can I sort a linked list?
How was c created?
How do I swap bytes?
What is the difference between printf and scanf )?
What is int main () in c?
please send me the code for multiplying sparse matrix using c