Question: please do the coding for the question MaxPackage The n number of students received m number of offers at VIT, Chennai. You need to find


please do the coding for the question
MaxPackage The "n" number of students received "m" number of offers at VIT, Chennai. You need to find the maximum package out which all n students with m offers. The input contains the number of students followed by Name of the students and the packages of each offer. NOTE: Program should use function concepts and global keyword For example Input: # n number of students >> n lines with the name of the student followed by m offers 5 relu 2000 1500 7500 890 750 550 zulu 200 150 750 350 790 tanh 100 500 1500 sinx 1000 1500 2000 250 Cosx 900 800 700 200 500 Output: # Maximum salary h 7500 zulu 200 150 750 350 790 tanh 100 500 1500 sinx 1000 1500 2000 250 Cosx 900 800 700 200 500 Output: # Maximum salary 7500 Input: # n number of students >> n lines with the name of the student followed by m offers 3 sinx 1000 1500 Cosx 900 800 700 200 500 ohms 5000 750 9999 Output: # Maximum salary 9999
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
