Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
image text in transcribed
Program: Write a complete C++ program that calculates the local annual tax for residents in the Lakeland. Input: 1. Annual income of a resident in dollar amount 2. Age of the resident. If the age is 60 or older, this resident is regarded as a senior perso . Processing: 1. 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%. 2. 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%. 3. At the end, with tax rate finalized through steps (1) (2), calculate the tax Output: Display the following items with proper prompt. o Tax amount o Tax rate o 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_2

Step: 3

blur-text-image_3

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

Database And Expert Systems Applications 19th International Conference Dexa 2008 Turin Italy September 2008 Proceedings Lncs 5181

Authors: Sourav S. Bhowmick ,Josef Kung ,Roland Wagner

2008th Edition

3540856536, 978-3540856535

More Books

Students also viewed these Databases questions

Question

2. (1 point) Given AABC, tan A b b

Answered: 1 week ago