Programming and algorithms

posted by .

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

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. Programming Problems

    Include 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 …
  2. programming logic

    The program will accept user input to store the student's first and last name . If the name is ZZZ, then the program will end. The program will accept: a text entry for the class number (e.g., CGS 1000, COP 1000, etc.) a numeric value …
  3. programming logic raptor

    1. a.input names of students from the user, terminated by "zzz", 0,0,0, and create a data file grades with records of the following form: student (string), test1 (integer), test2(integer), test3 (integer) b. display the contents of …
  4. programming

    Write a program which allows user to enter 10 student names and scores for Java programming 1 and Java programming 2. Allow user to choose which course they want to enter the record for. Use the loop to ask input from user. The program …
  5. Programming Concepts

    Can someone please explain to me how I can get the solution for this question. Use the top-down modular approach and pseudocode to design a suitable program to help you solve this problem. Whenever appropriate,validate the input data. …
  6. 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 so …
  7. Computer science

    use a modular approach and pseudo- code to design a suitable program to solve it. Allow the user to enter a series of temperatures in degrees Celsius (C) termi- nated by the input of −999. For each one, find the corresponding …
  8. 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 …
  9. programming logic and design

    Using pseudocode or a flowchart write a program that does the following: Allow the end user to enter the category the ad will appear in (ex. Automobiles), Number of words and Customer Name Calculate the cost based on 50 cents per word …
  10. C++

    // Program: name of program // Author: your name // Date Written: date you began writing the program /* Abstract: Brief description of the program */ Include in-line comments in the body of your program. You can convert temperature …

More Similar Questions