Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please do not post an image as an answer thank you Assignment - 05/01/2022 - 9:51 am Instructions: Work on the problems and hand in

please do not post an image as an answer
thank you
image text in transcribed
Assignment - 05/01/2022 - 9:51 am Instructions: Work on the problems and hand in the document containing code and execution by the end of the session. (Submit the work completed by the end of the session 11:30 am. The work can be continued later) Code should begin with comment lines describing assumptions on inputs and outputs Questions: Write C++ programs for the following: a. To implement the Income Tax Calculator described below: i. Tax Laws: ii. All taxpayers are charged a flat tax rate of 20%. iii. All taxpayers are allowed a $10,000 standard deduction. iv. For each dependent, a taxpayer is allowed an additional $2000 deduction. v. Gross income must be entered to the nearest penny. vi. The income tax is expressed as a decimal number vii. User Inputs 1. Gross Income and Number of Dependents b. Algorithm to convert the given amount into denominations (1, 2, 5, 10, 20, 50, 100, 500, 1000) c. To convert the temperature from Celcius to Faranheit. F to C Deduct 32, then multiply by 5, then divide by 9 C to F Multiply by 9, then divide by 5, then add 32 d. To calculate the final velocity (v) and the displacement (s) of the moving vehicle given the initial velocity(u), time travelled (1) and the acceleration (a) e. To calculate the area of the triangle given the length of the three sides (a, b,c) References: C++ Primer - Chapters 1.2 Problem solving and program design in C - Chapter 3

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

Oracle Databases On The Web Learn To Create Web Pages That Interface With Database Engines

Authors: Robert Papaj, Donald Burleson

11th Edition

1576100995, 978-1576100998

More Books

Students also viewed these Databases questions