I need to know if I'm doing this right. I just recently started Psuedocoding and I'm still confused about it. If I was to test this code would it work? Declare Employees as String Declare Salaries as Integer Declare K as Integer Declare Average as Integer Set Sum = 0 Set K = 1 Set Average = 0 Write "Enter Total Employee Count." Input Employees FOR K = 1 Add 1 to Average Then Write "Enter the Employee Name and salary" Input Name, Salary Set Employees[K]=Name Set Salaries[K]=Salary Set Sum=Sum+Salary END FOR Set Average=Sum/Average Set Below = 0 Set Above = 0 If K = Add 1 to Average Then If Salaries=[K] < Average Then Set Below = Below + 1 End If If Salaries=[K] > Average Then Set Above = Above + 1 End If END If
Edited by Christopher_7: Formatting fixed.