Explore BrainMass
Share

# Pseudocode Codes and The Top-Down Modular Approach

This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

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

https://brainmass.com/computer-science/pseudocode/pseudocode-code-190915

#### Solution Preview

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

#### Solution Summary

This tutorial provides assistance in creating suitable programs to solve the following problems by using the top-down modular approach and pseudocode.

\$2.19