"mid range salary code" asked in Wipro feb 2022

"mid range salary code" asked in Wipro feb 2022 


A company wishes to analyze the middle-range salary distribution of their employees. For this purpose, they have gathered N salaries of different levels. N is always even. Salaries may vary or can be the same. To find the middle range distribution, they must sort the salaries and add the two salarjęs in the middle which will result as the middle range salary distribution. 14 Write an algorithm to find the middle-range salary distribution.





Comments

Popular posts from this blog

EV Minimize Array Cost asked in Infosys- march 2022 (available in c++ only)

Complete Binary tree(CBT) and Almost Complete Binary tree(ACBT): Total nodes and formulae :

PERFECT SQUARE asked by MountainBlue