Write a program to input ‘n’ employees’ salary and find minimum & maximum
salary among ‘n’ employees
Answers
Answered by
1
Answer:
YOUR ANSWER
mark as brain list answer plz thank toy answer
follow me
Explanation:
t=tuple( ) n=input(“Enter total number of employees”) for i in range(n): a=input(“enter salary of employee:”) t=t+(a,) print “maximum salary=”,max(t) print “minimum salary=”,min(t) Output : Enter total number of employees 3 enter salary of employee: 7800 enter salary of employee: 8934 enter salary of employee: 6544 maximum salary = 8934 minimum salary = 6544Read more on Sarthaks.com - https://www.sarthaks.com/134090/write-program-to-input-employees-salary-and-find-minimum-maximum-salary-among-employees?show=134091#a134091
Similar questions