Posted by Jen on Friday, July 18, 2008 at 11:28am.
here is the rest of the psuedocode:
Set Count = Count + 1
Set Name[Count] = EmployeeName
Write “Enter salary for ” , Names[Count]
For Test = 1 Step 1 To 2
Input Salary[Count, Test]
End For
Write “Enter an employee’s name; enter * when done.”
Input EmployeeName
End While
While the array A is not sorted
For K = 1 Step 1 To N – 1
If A[K] > A[K + 1]
Interchange A[K] and A[K + 1]
End If
End For
End While
For K = 1 Step 1 To Count
Set Sum = 0
For J = 1 Step 1 To 2
Set Sum = Sum + Salary[K,J]
End For J
Set Average = Sum / 2
Write Names[K], Average
End For (K)
ah forget it, if I can't copy and paste its not worth it.
Related Questions
Intro to Computer Programming - Pseudocode - This assignment (below) jumped way ...
Pseudocode programming - I need a currency conversion application. It does not ...
transformations - I was wondering if someone could check my answer to see if I...
pseudocode programming - Develop an algorithm or write pseudocode to determine ...
computer science - Your goal is to solve the following programming lab activity...
IT/210 - Assignment: Chapter 5 Programming Problems · Complete ...
Computer Programming - Draw a structured flowchart and write pseudocode that ...
programming - I am in a beginners class in computer programming and we have been...
programming - I am in a beginners class in computer programming and we have been...
programming - I am in a beginners class in computer programming and we have been...
For Further Reading