:: Home Page
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   Errors
   Testimonials Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
Categories >> Software >> Programming Languages >> C


Question write the program for prime numbers?
 Question Asked In Companies :: Accenture, Aptech, Infosys, TCS,     < I also faced this Question! >
 Question Submitted By :: aaaa
  Answer Posted By  
This program is to check a given number is prime or not
(or) list the prime numbers in a given no.

For example, the user enter the no is 50. the program is
list the prime numbers in 50.

Is This Answer Correct ?    402 Yes 262 No

View All Answers
Please Help Members By Posting Answers For Below Questions
 Question Views   Select
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”. 531
I need a help with a program: Write a C program that uses data input in determining the whole of points A and a whole of circles B. Find two points in A so that the line which passes through them, cut through the maximum number of circles. 405
how can use subset in c program and give more example 371
write a program to display all prime numbers 396
Can you write the algorithm for Queue? 446
write a program to print largest number of each row of a 2D array 749
Hi can anyone tell what is a start up code? 469
One of the Institutes contains 5 student groups. Every group contains 4 students. Institute wants to store student group’s details in array. Group should contain group member’s details (name and registration number and age), project name, and mark of the group. 909
I completed my (IT). Actually I want to develop virtual object that which will change software technology in the future. To develop virtual object what course I have to take. can I any professor to help me. 572
Which is the best sort method for library management? 532
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation. 518
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2 364
i want to switch my career from quailty assurance engineering to development kindly guide me from which programming language its better for me to start plz refer some courses or certifications too i have an experience of 1.5 yrs in QA field.Kindly guide me 419
Take an MxN matrice from user and then sum upper diagonal in a variable and lower diagonal in a separate variables. Print the result 66
E-Mail New Answers        Answer Selected Questions