Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a python program to prompt the user to enter medical expenses for the months of January, February, March, and April for many employees. Each

Write a python program to prompt the user to enter medical expenses for the months of January, February, March, and April for many employees. Each employee will be refunded from the total amounts he paid according to the chart below:

Amount

Refund

Full amount

80%

60%

>1000

50%

The program displays the employees final report as shown in the sample run below:

image text in transcribed

image text in transcribed

Here is the sample run: Enter number of Employees: Name of Empl:majdi Expense of January: 10 Expense of February: 20 Expense of March:50 Expense of April:30 Name of Emp2 :asma Expense of January:100 Expense of February:200 Expense of March:400 Expense of April: 600 Name of Emp3:adam Expense of January:100 Expense of February:200 Expense of March:50 Expense of April: 60 Name of Emp4:anas Expense of January:80 Expense of February: 60 Expense of March:50 Expense of April:100 Student Name:Your Name Student No:Your Number ALL EMPLOYYEES' FINAL REPORT 1. MAJDI: [10,20,50,30] 2. ASMA: [100,200,400,600] 3. ADAM: [100,200,50,60] 4. ANAS: [80,60,50,100]

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

Students also viewed these Databases questions

Question

Explain the difference between a tax issue and a research question.

Answered: 1 week ago