Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a complete C++ program that calculates the local annual tax for residents in the Lakeland. Input: Annual income of a resident in dollar amount

Write a complete C++ program that calculates the local annual tax for residents in the Lakeland. Input: Annual income of a resident in dollar amount Age of the resident. If the age is 60 or older, this resident is regarded as a senior person. Processing: The tax rate for any individual with annual income $50,000 or less is zero. The tax rate for any individual with annual income $100,000 or less but more than $50,000 is 7%. Other people will have the tax rate of 9%. Second, determine the senior discount. If a resident has a non-zero tax rate after Step (1) and is also a senior, his/her tax rate shall be reduced by 3%. At the end, with tax rate finalized through steps (1) (2), calculate the tax. Output: Display the following items with proper prompt. Tax amount Tax rate Senior discount percentage rate if applied

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

More Books

Students also viewed these Databases questions

Question

=+32-4 Discuss how emotions affect our memory processing.

Answered: 1 week ago

Question

What is gravity?

Answered: 1 week ago

Question

What is the Big Bang Theory?

Answered: 1 week ago

Question

4. Label problematic uses of language and their remedies

Answered: 1 week ago