Top-down Modular Approach and Pseudocode
Provide the analysis and pseudocode only (no diagrams are required).
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
© BrainMass Inc. brainmass.com December 15, 2022, 6:56 pm ad1c9bdddfhttps://brainmass.com/computer-science/pseudocode/pseudocode-184513
Solution Preview
Hi there,
Here are some sample pseudocodes...
Problem 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.
Main Program
Open GRADES
Declare Name as ...
Solution Summary
This Solution is described in over 100 words.