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]
Write “Enter an employee’s name; enter * when done.”
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]
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.
Answer this Question
computer science - Pseudo code: Input a list of employee names and salaries, and...
programming concepts - Input a list of employee names and salaries stored in ...
programming - John: 50,000 Joe: 30,000 Jane: 60,000 Jill: 25,000 Total: 165,000 ...
computer programming - Input a list of positive numbers (terminated by 0) into ...
Intro to Computer Programming - Pseudocode - This assignment (below) jumped way ...
programming - write a program that creates a list of employees objects of size n...
computer science - Mr Ali has given a test to his class. He would like to have ...
pseudocode programming - Develop an algorithm or write pseudocode to determine ...
Programming Concepts - Can someone please explain to me how I can get the ...
programming - Input a list of positive numbers (terminated by 0) into an array, ...