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
What is the difference between text and binary modes?
Explain what’s a signal? Explain what do I use signals for?
what is the height of tree if leaf node is at level 3. please explain
How are strings stored in c?
What is difference between array and structure in c?
What is p in text message?
Write a program to generate the Fibinocci Series
What is pass by reference in c?
how to capitalise first letter of each word in a given string?
What is default value of global variable in c?
What is main function in c?
What is a built-in function in C?
How do we print only part of a string in c?
What is typedf?
List some of the dynamic data structures in C?