write the program for prime numbers?
Answer Posted / vasanth
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 |
Post New Answer View All Answers
What are the rules for the identifier?
What is the purpose of type declarations?
1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if
What are header files in c?
What extern c means?
What are global variables and how do you declare them?
Do variables need to be initialized?
Why main is used in c?
What is the best way of making my program efficient?
What is I ++ in c programming?
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
How can I copy just a portion of a string?
Explain how can you avoid including a header more than once?
How do we print only part of a string in c?
Explain what happens if you free a pointer twice?