Unformatted text preview: Output – the nmean salary is – mean_salary Def count_below stores number of salaries < the mean salary Set count_below = 0 Def count_above stores number of salaries > mean salary Set loop_integer =1 While ( loop_integer 1<n) If (salaryarray[loop_integer – 1] < mean_salary) Increase count_below by 1 Else (salaryarray[loop_integer – 1]>mean_salary) Increase count_above +1 End if End while Output “ number of salaries below mean salary is” count_below Output “ number of salaries above mean salaryis “ count_above...
View
Full Document
 Spring '10
 some
 Networking, Salary, Ring, Summation

Click to edit the document details