Answered step by step
Verified Expert Solution
Link Copied!

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

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

Postgresql 16 Administration Cookbook Solve Real World Database Administration Challenges With 180+ Practical Recipes And Best Practices

Authors: Gianni Ciolli ,Boriss Mejias ,Jimmy Angelakos ,Vibhor Kumar ,Simon Riggs

1st Edition

1835460585, 978-1835460580

More Books

Students also viewed these Databases questions