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
A ring counter consisting of five Flip-Flops will have ? Ans. A ring counter have 5 states while consisting of Five Flip-Flops.

Translate the following sentences into predicate logic, using Russell's theory of definite descriptions to represent the article the. a. The wizzard of Oz fell. b. Everyone a

explain area sub division method algorithm

Bit Serial Associative Processor (BSAP) : When the associative processor accepts bit serial memory organization then it is known as bit serial associative processor. While only one

What are null values? If the value of a field in a table is indeterminate or unknown, it is known as a null value.

One of the resources we used was Ajeet Khurana's article that talks about the advantages of e-commerce. It was helpful to gain some background on the variety of benefits the electr

Explain the meaning of BIND socket primitive The bind Primitiv: While created, a socket has neither a remote address nor a local address. A server utilizes the bind proce

Firewalls use one or more of three methods to control traffic flowing in and out of the network:  Packet filtering - Packets (small chunks of data) are examined against a s

The number of control lines for 32 to 1 multiplexer is ? Ans. For 32 (2 5 ) the number of control lines and to select one i/p between them total 5 select lines are needed.

An operating system contains 3 resource classes. The number of resource units in these classes is 7, 7 and 10. The current resource allocation state is shown below: