programming

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

asked by yvonne
  1. looks ok to me

    posted by Steve

Respond to this Question

First Name

Your Answer

Similar Questions

  1. 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
  2. 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
  3. 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.
  4. 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
  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
  6. 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
  7. 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.
  8. 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.
  9. 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
  10. Programming

    Read two numbers from the keyboard Display the menu options as follows: 1 - computes the sum of two numbers. 2 - computes the difference (first minus second). 3 - computes the product of the two numbers. 4 - if the second number

More Similar Questions