Question
1.Create a Python program that prompts a user to enter the Name and Age of an employee. The program continues to prompt the user for
1.Create a Python program that prompts a user to enter the Name and Age of an employee. The program continues to prompt the user for more employees until the Name null is entered. Your program should print two columns to represent the Name and Age.(in loop)
2Write a pyrhon program that asks the user to insert the salaries of 10 employees and then calculates and prints the average of employees salary. Use for loop.
3.
Create a python program that asks the user to enter the number of years of employment for an employee. The program then calculates and prints the weeks of vacation according to the table below.
Years of employment weeks of vacation
0-2 2
3-5 4
6-9 6
10 and more 8
I need it asap please
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