Write a program capable of computing the amount of tax you owe given the following tax...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Write a program capable of computing the amount of tax you owe given the following tax table: Tax bracket 1 2 3 4 5 Income 0-$10,000 $10,001-$20,000 $20,001-$30,000 $30,001-$50,000 $50,001-$100,000 greater than $100,000 Marginal tax rate 5% 10% 15% 20% 25% 30% Input should be from the keyboard and consist of just one number, your income. Output should be to the screen and consist of your tax. For Income = $ 35000, your owed tax = $4000 A student takes 12 courses during an academic year. Write a program in C that: a) Asks the user to input his grades. b) Calculates the grade point average. c) Upgrade your program so that it also prints the maximum and minimum grade GPA= Gradexof hrs for course, Grade of hrs for course Total of credit hrs Write a program in C that: 1) Prompts the user to give as a positive number. 2) If the input is not positive it displays an error message and ask for a correct input till a positive one is given. 3) Calculates the factorial of the entered number. 1000 madin Write a program that will print the following table: inch 100 99 3 2 1 Note that 1 ft = 12 in and 1 m = 39.3701 in feet meter 8.3333 2.5400 8.2500 2.5146 0.2500 0.0762 0.1667 0.0508 0.0833 0.0254 Write a program capable of computing the amount of tax you owe given the following tax table: Tax bracket 1 2 3 4 5 Income 0-$10,000 $10,001-$20,000 $20,001-$30,000 $30,001-$50,000 $50,001-$100,000 greater than $100,000 Marginal tax rate 5% 10% 15% 20% 25% 30% Input should be from the keyboard and consist of just one number, your income. Output should be to the screen and consist of your tax. For Income = $ 35000, your owed tax = $4000 A student takes 12 courses during an academic year. Write a program in C that: a) Asks the user to input his grades. b) Calculates the grade point average. c) Upgrade your program so that it also prints the maximum and minimum grade GPA= Gradexof hrs for course, Grade of hrs for course Total of credit hrs Write a program in C that: 1) Prompts the user to give as a positive number. 2) If the input is not positive it displays an error message and ask for a correct input till a positive one is given. 3) Calculates the factorial of the entered number. 1000 madin Write a program that will print the following table: inch 100 99 3 2 1 Note that 1 ft = 12 in and 1 m = 39.3701 in feet meter 8.3333 2.5400 8.2500 2.5146 0.2500 0.0762 0.1667 0.0508 0.0833 0.0254
Expert Answer:
Answer rating: 100% (QA)
Answer Input income from the user income floatinputEnter your income Defi... View the full answer
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date:
Students also viewed these programming questions
-
Explain the internal controls that you may suggest to a client that you are auditing in order to minimize the risk of money laundering.
-
You are asked to develop a Floppy Disk program that allows users to access a floppy disk locally mounted on a computer. You are expected to use C programming language. In your program, all file I/O...
-
9.1 Exercise (JDK Source Code): Extract the source code of the class Math from the JDK source code ("$JAVA_HOME" "src.zip" "Math.java" under folder "java.lang"). Study how constants such as E and...
-
True or False? Azure storage is used by both Infrastructure as a Service ( ( laaS ) ) virtual machines, and Platform as a Service ( ( PaaS ) ) cloud services. True False
-
Determine the force in each member of the space truss and state if the members are in tension or compression. The truss is supported by short links at A, B, and C. Given: a = 4 ft b = 2 ft c = 3 ft d...
-
A company is expected to grow earnings by 4.2% per year forever. The firm's cost of equity is 9.2% and the firm's ROE is 12%. What should the firm's forward P/E be?
-
The following data were collected on specific gravity and spectrophotometer analysis for 26 mixtures of NG (nitroglycerine), TA (triacetin and 2 NDPA (2-nitrodiphenylamine). There is a need to...
-
Pallmall Company has a truck which was purchased in prior years for $60,000. At the end of 2013, there is $30,000 of accumulated depreciation. The value of the truck has been impaired, and its...
-
What approaches do adaptive leaders employ to promote organizational agility and responsiveness, fostering a culture of experimentation and iterative improvement ?
-
Amos Sharp recently opened his own accounting firm on October 1, which he operates as a sole proprietorship. The name of the new entity is Amos Sharp, CPA. Sharp experienced the following events...
-
please use the right method
-
The sequence \[x=0.125,0.25,0.5,1,2,4\] is filtered by a filter with transfer function \[H(z)=\frac{1}{3}\left(1+z^{-1}+z^{-2} ight)\] and the result is decimated by 2 . The output is then upsampled...
-
Assuming the dispersion relation \(\omega=A k^{\mathcal{s}}\), where \(\omega\) is the angular frequency and \(k\) the wave number of a vibrational mode existing in a solid, show that the respective...
-
Label each of the following statements true, false, or uncertain. Explain briefly. a. The reduction in the current account deficit in Greece from 2008 to 2018 means that citizens in Greece are better...
-
Refer to Section 8.4.5 to develop a Java Web application, JavaWebOracleStudent, to query the Student Table in our sample Oracle database, CSE_DEPT, using JavaServer pages and the JSP implicit session...
-
A relatively small medical group practice is trying to estimate its CCC. The practice is 100 percent equity financed. The rate of return on 20-year Treasury bonds is currently 4 percent, and the...
-
Lily is going to invest $750 and leave it in an account for 18 years. Assuming the interest is compounded daily, what interest rate, to the nearest tenth of a percent, would be required in order for...
-
Create an appropriate display of the navel data collected in Exercise 25 of Section 3.1. Discuss any special properties of this distribution. Exercise 25 The navel ratio is defined to be a persons...
-
Calculate the amount of the child and dependent care credit allowed for 2012 in each of the following cases, assuming the taxpayers had no income other than the stated amounts. a. William and Carla...
-
Larry Gaines, age 42, sells his personal residence on November 12, 2012, for $144,000. He lived in the house for 7 years. The expenses of the sale are $10,500, and he has made capital improvements of...
-
Jason and Mary are married taxpayers in 2012. They are both under age 65 and in good health. For this tax year, they have a total of $41,000 in wages and $500 in interest income. Jason and Mary's...
-
The treatment of outflows on account of dividend and interest is highly debatable as to their activity classification. Give a serious thought to the issue and express your opinion about the best...
-
Consider the same setting as Problem 18, but suppose instead 80% of the shareholders redeem their shares, and no warrants are exercised. Data from problem 18 a. What is the amount of cash per share...
-
Reliance Industries Ltd. is the biggest private sector company in India. The following fact sheet about the company and its peer group, as extracted from Capitaline Plus database is reproduced in the...
Study smarter with the SolutionInn App