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 is use of integral promotions in c?
Explain the use of function toupper() with and example code?
What is C language ?
Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members. They are considering a pay increase of 8%. Write a program that will prompt for and accept the current salary for each of the faculty members, then calculate and display their individual pay increases. At the end of the program, print the total faculty payroll before and after the pay increase, and the total pay increase involved.
How can you increase the allowable number of simultaneously open files?
What is structure and union in c?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it(should not use big integers and exponential functions)
What is the difference between the = symbol and == symbol?
Explain how can I manipulate strings of multibyte characters?
Why is c faster?
What is the easiest sorting method to use?
How do you list files in a directory?
Explain which function in c can be used to append a string to another string?
What is string length in c?
What is the use of a ‘ ’ character?