| | |
Can someone please correct my pseudo code assignment? I'm new to this language.
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Dec 2008
Posts: 6
Reputation:
Solved Threads: 0
C++ Syntax (Toggle Plain Text)
For each of the following problems, use the top-down modular approach and pseudo code 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. Process 1 Display the Program Title - "Student Test Score Program" 2 Get Student Name 3 Display Grade File- “Test Scores” 4 Calculate Student Grade- “Test Scores” 5 Display Student Grade Total Input Student Name -real Student Test Score - real Output Student Test Scores Results - real Main Module Declare Student as String Declare Test1 as integer Declare Test2 as integer Declare Test3 as Integer Write “Welcome to the Student Test Score program” Call Student Grade File Call Calculate Student Grades Call Display Student Grades End program End Main Module Program Student Grade File- Test Scores Open “Student Grade File” for output test scores Write “Enter student name “ Input “ZZZ when you are done” Input Student, Test (1), Test (2), Test (3) While Student <> “ZZZ” Set Test = 0 End While End Student Grade File- Test Score Program Calculate Student Grade - Test Scores Declare test scores as Integer Set Total = Test (1) + Test (2) + Test (3) End program End Calculate Student Grade - Test Scores Program Display Student Grade Total End program End Student Grade Program
Re: Can someone please correct my pseudo code assignment? I'm new to this language.
0
#2 Dec 5th, 2008
Looks okay where are you struck ?
Re: Can someone please correct my pseudo code assignment? I'm new to this language.
0
#3 Dec 5th, 2008
![]() |
Other Threads in the C++ Forum
- Previous Thread: error C2664: 'setStartupDirectory' : cannot convert parameter
- Next Thread: Not repeated elements in link list (help)
| Thread Tools | Search this Thread |
api array based binary c++ c/c++ calculator char char* class classes code coding compile console conversion count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock wordfrequency wxwidgets







...