Programming and algorithms

For each of the following problems, use the top-down modular approach
and pseudocode to design a suitable program to solve it.
1. Input names of students from the user, terminated by ZZZ, and
create a data file GRADES with records of the form:
student (string), test1 (integer), test2 (integer), test3 (integer)
In this file, all test scores should be set equal to 0.
2. Display the contents of the file GRADES created in Problem 1.
Each student’s record should appear on a separate line and include
the total score (the sum of the three tests) for that student. For
example, a line of output might be:
R. Abrams 76 84 82 242

  1. 👍 0
  2. 👎 0
  3. 👁 334

Respond to this Question

First Name

Your Response

Similar Questions

  1. Programming concepts

    Develop a menu-driven program that inputs two numbers and, at the user’s option, finds their sum, difference, product, or quotient. top-down modular approach and pseudocode to design a suitable program to solve it. I am having

  2. CIS 115

    There are three seating categories at a stadium. For a softball game, Class A # seats cost $15, Class B cost $12. and Class C seats cost $9. Design a modular # program that asks how many tickets for each class of seats were sold,

  3. programming

    Design a class named Book that holds a stock number, author, title, price, and number of pages for a book. Include a method that sets all the data files and another that prints the values for each data field. Create the class

  4. BUSINESS

    1. You've told Dan, a new contact, that you're looking for a qualified sales representative. Now you want to find out if there's any way you can help his business. What's an effective way to approach the question? A. Give him your

  1. Statistics

    The weather forecaster reports that the probability of rain tomorrow is 10%. a. Which approach was used to arrive at this number? Was it the analytical (classical) approach, relative frequency approach or subjective approach?

  2. MCC

    Design a modular program that asks the user to enter the replacement cost of a building and then displays the minimum amount of insurance he or she should buy for the property.

  3. computer programming

    Design the pseudocode for a program that allows a user to enter 10 numbers, then displays them in the reverse order of their entry

  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

  1. College Math

    5) A landscaper wants to make a small planter and surround it with edging material for a client. She is deciding between two designs. Design 1: A square planter Design 2: A circular planter Edging material costs $4 per ft. for the

  2. 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

  3. Program Design and Development

    Design the pseudocode for a program that outputs numbers in reverse order from 10 down to 1 using a loop?

  4. logic and design

    . Design a modular program that asks how many tickets for each class of seats were sold, and then displays the amount of income generated from ticket sales. There are three seating categories at a stadium. For a softball game,

You can view more similar questions or ask a new question.