Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can you code this please in python? Write a Python based Modalized program (using functions that have one purpose) to solve this program You are

can you code this please in python? image text in transcribed
Write a Python based Modalized program (using functions that have one purpose) to solve this program You are asked to write a program to determine business travel expenses that are reimbursable. The application should allow the user to input Number of Days of Trip, Air Travel Costs, Total Lodging Costs for the trip, and Total Food Costs for the trip. These costs are associated to an employee traveling on business. The business will reimburse the employee for the trip based on the following: For Management employees: o Up to $500 for Airfare for each trip. o Per Diem of $125.00 a day for Lodging. o Per Diem of $75.00 a day for Food. For non-Management employees: o Up to $400 for Airfare for each trip. o Per Diem of $100.00 a day for Lodging. o Per Diem of $50.00 a day for Food . NOTE: PER DIEM - means you get money if you use it or not. The employee can take more expensive flights, stay at more expensive hotels, and eat more expensive food, yet they will have to pay the difference between the total costs of each and what and the company will pay. Create a Console Based Python Program that will allow the necessary inputs to perform the necessary calculations. Upon receiving all input, Total Travel Costs, Total Amount Reimbursed by Company, and Total Employee Responsible Amount should be displayed

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

Database Machine Performance Modeling Methodologies And Evaluation Strategies Lncs 257

Authors: Francesca Cesarini ,Silvio Salza

1st Edition

3540179429, 978-3540179429

More Books

Students also viewed these Databases questions

Question

Explain the importance of Human Resource Management

Answered: 1 week ago

Question

Discuss the scope of Human Resource Management

Answered: 1 week ago