Answer Posted / siva
if one class(called derived) acquires/inherits properties
of another class(base class) is called inheritance.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is encapsulation in oops?
What is the main feature of oop?
write knight tour problem which is present in datastructure
Why multiple inheritance is not possible?
Why do we use inheritance?
How to hide the base class functionality in Inheritance?
How oops is better than procedural?
What is abstract class in oops?
What is the difference between encapsulation and polymorphism?
Why do we use polymorphism in oops?
What exactly is polymorphism?
What polymorphism means?
What is object and class in oops?
What is destructor in oop?
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.