Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Using Pyhton: Write a program to allow the user to input a salary for each of the employees at the company. Devise a loop structure
Using Pyhton: Write a program to allow the user to input a salary for each of the employees at the company. Devise a loop structure to allow the user to continue inputting the salaries until all have been entered. Have the user enter -1 when all salaries have been entered.
1.Print the number of salaries above the average.
2.Print the highest salary.
3.Print the list of salaries.
4.Replace all salaries below the average with a new salary increased by a 10% raise.
5.Print the new salaries.
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