Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write C programs to do the following 1. Input ten incomes from user: 187, 2768, 1974, 373, 66733, 437892, 593, 8091,48903, 1839 Then, calculate the
Write C programs to do the following 1. Input ten incomes from user: 187, 2768, 1974, 373, 66733, 437892, 593, 8091,48903, 1839 Then, calculate the tax on each income based on the following assumptions a. If income -2000, tax rate-500 30% above 2000 Compute the roots of a quadratic equation: ax 2 + bx + c = 0 , where the coefficients are provided as user input. Consider coefficients for a, b, c which will provide all three cases: (a) real and unequal roots, (b) real and equal roots, (c) complex roots 2. 3. The period of one swing of a simple pendulum is given by T- 2T-, where (in metric units), T- period (sec), l-length of pendulum (m). &= gravitational acceleration-981 m / sec2Write a program capable of completing the following table en Period (sec) 0.5 10.0 20.0 0.32 Input specifications: Prompt the user to input the data from the screen. Outputpecifications: Print the completed table on the screen. 4. The grading structure for a class is the following 90 100A 80-89 B 70-79 C 60-69 D
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started