programming

posted by yvonne

Example
Develop a pseudocode algorithm for a program that accepts each of the average marks of 10 students in a class and computes the sum and the average mark of the class. The program should display the average mark of the class.
Begin
Set total to zero
Set counter to one
While counter is less than or equal to ten
Input student average mark
Add average mark to total
Add one to the counter
Set the class average to total divided by ten
Display the class average
End

  1. Steve

    looks ok to me

Respond to this Question

First Name

Your Answer

Similar Questions

  1. statistics

    The average marks of 30 students in mathematics is 69. If the class leader’s mark is included then the average becomes 70. Find the class leader’s mark.
  2. programming in c++

    a program in c++ that accepts exam marks for 10 students and stores them in an array.the program should then calculate and utput the average marks for the class.and give an account of marks below average and output all marks above …
  3. Algorithm

    write a pseudo code algorithm that will accept the marks in a test for a group of 25 students then calculate and display the average mark
  4. programming

    You have the final sales figures for the four quarters in 2010 for Bennets Used Auto Sales, and you are to design a program that asks for the sales figures, computes the total sales for the year, and calculates and displays the average …
  5. computer science

    Mr Ali has given a test to his class. He would like to have the average score for the class as well as the highest and lowest scores. Write a pseudocode to calculate and display these values. Then convert your pseudocode into a program …
  6. introduction to computing

    Write a C++ program that will accept the marks in a test for a group of 25 students then calculate and display the average mark and highest marks in class.
  7. Computer science

    need help how do this program. Use the top-down modular approach and pseudocode to design a suitable program to solve it. Alberta Einstein teaches a business class at Podunk University. To evaluate the students in this class, she has …
  8. science computer

    The program will accept the final marks of a group of students in a class. The lecturer can choose '1' to finds the highest and lowest marks in the class. The lecturer choose '2' to find the average marks of that class. If user enter …
  9. ALGORITHM

    Write an algorithm and flowchart that will accept score of 30 student in a class calculate and print the average mark in basic program.
  10. Programming

    Scenario: Write a program that will determine the average mark of each student. The average is dependent on the subjects which the student has completed. The minimum amount of subjects is eight, and the maximum amount of subjects is …

More Similar Questions