I will show a brief pseudocode for you to expand on. You can post the improved version for discussions.
// data input
total <- 0
while(more employees)
{
input employee.name, employee.salary
total <- total+employee.salary
increment count
}
if count equals zero, quit