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
Divide overflow is generated when  (A) Sign of the dividend is dissimilar from that of divisor.  (B) Sign of the dividend is same as that of divisor.  (C) The first part

Hi I need a help in this question : A telephone switchboard handles ? calls on average during a rush hour, and the switchboard can at most make k connections per minute. Write a

What is called static and dynamic branch prediction? The branch prediction decision is always the similar every time a given instruction is implemented. Any approach that has t

draw input and output charectoristics of BJT and justify CE configuration provides large current amplification

All AWT event listeners expand the java.util.EventListener interface.

Q. Write a program to implement NOR, NAND, XOR and XNOR gates using and without using bit wise operator. Also perform necessary checking. The user has option to give n numbe

CGI stands for Common Gateway Interface, and is a mechanism by which a browser is permitted to communicate with programs running on a server. If you look at every word in turn it m

What is Central Processing Unit Central Processing Unit (CPU) performs all the arithmetic and logical calculations in a computer. The CPU is said to be the brain of the compute

What does the 'SUPPRESS DIALOG' do? Suppressing of whole screens is possible with this command.  This command permits us to perform screen processing "in the background".  Sup

E xplain the working of thousand line exchanges by u sing a combination of uniselectors and two motion selectors. The schematic diagram for such an exchange is demonstrated i