Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Probabilistic Databases

Authors: Dan Suciu, Dan Olteanu, Christopher Re, Christoph Koch

1st Edition

3031007514, 978-3031007514

More Books

Students also viewed these Databases questions

Question

Explain how inventory can deter problem solving.

Answered: 1 week ago

Question

a. When did your ancestors come to the United States?

Answered: 1 week ago

Question

d. What language(s) did they speak?

Answered: 1 week ago

Question

e. What difficulties did they encounter?

Answered: 1 week ago