Question
Assignment: Write a Python program consisting of several parts. Even though, these segments are not related, you would write code for each part, one after
Assignment: Write a Python program consisting of several parts. Even though, these segments are not related, you would write code for each part, one after the other. DO NOT create multiple files for each part of the requirements. Process and additional criteria: a) Ask the user for his or her monthly income and calculate and display the yearly income. Hint: There are 12 months in a year! b) Ask the user for the number of regular hours worked, overtime hours worked, hourly pay rate, the tax percentage as a whole number, and the parking fee. Calculate and display the gross pay and net pay. You can use the following formulas: Gross Pay = (regularHours * hourlyRate) + overtimeHours * hourlayRate * 2 Net Pay = Gross Pay (Gross pay * taxPercent / 100) parkingFee c) If you know the acceleration (a) and take-off speed (v) of an airplane, you can compute the minimum runway length needed for an airplane to take off using the following formula: NOTE: for v2 , you can use: v * v length = 22 Ask the user for the speed and the acceleration and calculate the length. Also, display all of the input and calculated values.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started