Write a program to compute for numeric grades for a course.
The course records are in a file that will serve as the
input file. The input file is in exactly the following
format: Each line contains a student's first name, then one
space, then ten quiz scores all on one line. The quiz scores
are in whole number and are separated by one space. Your
program will take it input from this file and sends it
output to a second file. The data in the output file will be
exactly the same as the data in the input file except that
there will be one additional number (of type double) at the
end of each line. This number will be the average of the
student's ten quiz scores. Use at least one function that
has file streams as all or some of its arguments.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More OOPS Interview Questions

Why multiple inheritance is not allowed?

0 Answers  


Why do we use class?

0 Answers  


Why do we need polymorphism in c#?

0 Answers  


can you give real time example for polymarphism

5 Answers   TCS,


Whats is abstraction in oops?

0 Answers  


hi all..i want to know oops concepts clearly can any1 explain??

0 Answers   Eureka Forbes,


why oops need in programming

7 Answers   TCS,


Whatis the difference between oop and object based language

3 Answers  


Polymorphism with an example?

8 Answers   Accenture, emc2,


What is Hashing and how is it done? Pictorial form?

2 Answers   emc2, Wipro,


what is single inheritance?

18 Answers   IBM,


Can you name some types of inheritance?

1 Answers   Motorola,


Categories