Question: in basic c programming please solve problem 4 Tunction that prints a message Input out of range. Use it to screen out value of o
Tunction that prints a message "Input out of range." Use it to screen out value of o less than 0.001 or greater than 0.003 lb/ft and values of less than 0.0002 or greater than 0.015 ft. Call this function from sain() 4. An arithmetic series. Each term of an arithmetic series is a constant amount greater than the term before it. Suppose the first term in a series is a and the difference between two adjacent terms is d. Then the kth term in 277 9.7. EXERCISES = a + (k-1)d. Write a function turn() with three parameters, a, d, and A, that will return the kth term of the series defined by a and d. Use type long int for all variables. Write a program that prompte the user for a and d, then prints the first 100 terms of the series, with 8 terms on each line of output arranged neatly in columns. Quit early if integer over flow occurs. 5. A geometric series. unionin of numbers in which each term is a constant times the preceding term. editor will
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
