display the contents of the file grade, Computer Engineering

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 the file grades formed in Part a. Each student's record should appear on a separate line and include the number score (the sum of the three tests) for that student. For example, a line of output might be as follows:
R. Abrams 76 84 82 242

c) Change the program of Part b so that at the option of the user, it displays either the whole contents of the file grades or just the record of a specified student. In either case, for every student displayed, also display his or her total test score.

Posted Date: 3/15/2013 3:14:03 AM | Location : United States







Related Discussions:- display the contents of the file grade, Assignment Help, Ask Question on display the contents of the file grade, Get Answer, Expert's Help, display the contents of the file grade Discussions

Write discussion on display the contents of the file grade
Your posts are moderated
Related Questions
Q. Explain Sample Instruction Format of MIPS instruction? All MIPS instructions are of same size and are 32 bits long. MIPS designers chose to keep all instructions of same len

What is store program control (SPC)? Within stored program control systems, a program or set of instructions for the computer that is stored in its memory and the instructions

They are light weight components that do no painting, but can take space in the GUI. This is mainly used for layout management.

What are the different types of parameters? Formal Parameters: Parameters, which are described during the definition of subroutine with the FORM statement.

overlapping segmentation process in 8086

Propositional truth tables: There {X\t} is a substitution that replaces all occurances of variable X with a term representing an object t as:  ∀X. A is true if and only

Q. Explain about Two-pass assembler? Assemblers usually make two or more passes through a source program in order to resolve forward references in a program. A forward referenc

Representation scheme in artificial intelligence: It is not hard to see why logic has been popular representation scheme in AI: In this way, It is easy to represent knowl

Illustrate the term EDI Trading Patterns? EDI Trading Patterns are illustrated below: a. Hubs and Spokes: Several of the prime movers into the adoption of Electronic Da

What is the decimal equivalent of the hexadecimal number 'A0' ? Ans. The decimal equivalent value is 160 of the hexadecimal number 'A0'. As   A        0      16 1     16 0    =