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
program for reversing a selected line word by word when multiple lines are given without using strrev
What are the key features in c programming language?
What is null pointer constant?
Explain what is the benefit of using an enum rather than a #define constant?
In C programming, what command or code can be used to determine if a number of odd or even?
How can you increase the size of a dynamically allocated array?
largest Of three Number using without if condition?
Why is #define used?
What is function definition in c?
When c language was developed?
What is FIFO?
p*=(++q)++*--p when p=q=1 while(q<=6)
How many bytes is a struct in c?
What is a newline escape sequence?
Explain what is the stack?