Question: f. Write a C program to generate all the prime numbers between 1 and n, wheren is a value supplied by the user. g.

f. Write a C program to generate all the prime numbers between 1 and n, wheren is a value supplied by the user. g. Write a C program to find the roots of a Quadratic equation. h. Write a C program to calculate the following, where x is a fractional value. 1-x/2 +x^2/4-x^3/6 i. Write a C program to read in two numbers, x and n, and then compute the sum of this geometric progression: 1+x+x^2+x^3+ +x^n. For example: if n is 3 and x is 5, then the program computes 1+5+25+125.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
