This preview shows page 1. Sign up to view the full content.
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
This note was uploaded on 11/07/2011 for the course IT 240 242 taught by Professor Some during the Spring '10 term at University of Phoenix.
- Spring '10