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


Please Help Members By Posting Answers For Below Questions

What is the difference between text and binary modes?

1240


Explain what’s a signal? Explain what do I use signals for?

1249


what is the height of tree if leaf node is at level 3. please explain

2199


How are strings stored in c?

1079


What is difference between array and structure in c?

1266


What is p in text message?

1037


Write a program to generate the Fibinocci Series

1300


What is pass by reference in c?

1239


how to capitalise first letter of each word in a given string?

1983


What is default value of global variable in c?

1050


What is main function in c?

1137


What is a built-in function in C?

1669


How do we print only part of a string in c?

1078


What is typedf?

1163


List some of the dynamic data structures in C?

1303