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
What is random access memory(RAM or MAIN MEMORY) and mention its types? The main memory in the central storage unit in a computer system. It is relatively large and fast memory

N number of XNOR gates is linked in series that is the N inputs (A0, A1, A2......) are specified in the subsequently way: A0 and A1 to first XNOR gate and A2 and O/P of First XNOR


System Software 1. Explain language processing? Explain its activities in detail. 2. Discuss briefly about Assembler directives. Also explain about Macro definition and call

When we initialize the form at that time if we require to set any variable's value then we can set it by defining in constructor. Constructor's name always similar as class name an

INT 21H supports about 100 different functions. A function is recognised by putting the function number in AH register. For illustration if we want to call function number 01 then

A device driver is software interface that manages communication with and control of a particular I/O device or type of device. It is task of device driver to convert logical reque

Recombination: Therefore during the selection and mating process then the GA repeatedly lines up pairs of individuals for reproduction. Hence the next question is how to gener

Next add a layout cell for the Learn More About graphic. 1.  In Objects panel, click the Draw Layout Cell icon. 2.  In Document window, draw a new cell in the space below nav

Time synchronization is necessary in? Time synchronization is essential in TDM.