Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lottery jackpot winners usually elect to take a lump sum payment of their winnings, on which they pay federal taxes and receive the rest. Design

Lottery jackpot winners usually elect to take a lump sum payment of their winnings, on which they pay federal taxes and receive the rest. Design a lottery calculator program that:

a. Allows the user enter the

1. Lump sum payment of the winnings

2. The percentage tax to be paid on those

3. The user will invest the remaining money received, so allow them to enter the percentage return they expect to get each year on their investment.

4. The average life expectancy of the user (up to what age they expect to live)

5. The user's current age

6. How much money they expect to spend each year.

b. Calculates and outputs

1. The amount of money the user will receive from the lottery after taxes

2. A yearly schedule that shows

i The year number

ii How much money their investment earned that year

iii How much money will remain after their expenses for that year

3. Outputs this yearly schedule until the user reaches their expected age from (a)(4) above or their money runs out.

It's for a intro to computerlogic class CIT 120 so I guess the most basic code please and thank you.

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

Excel As Your Database

Authors: Paul Cornell

1st Edition

1590597516, 978-1590597514

More Books

Students also viewed these Databases questions

Question

Describe Table Structures in RDMSs.

Answered: 1 week ago