6. Write a program in C++ to solve the general quadratic equation. ax2 + bx + c = 0 using the polymorphic technique. 7. Write a program in C++ to generate a Fibonacci series of ‘n’ numbers (where n is...




6. Write a program in C++ to solve the general quadratic equation.


ax2 + bx + c = 0


using the polymorphic technique.


7. Write a program in C++ to generate a Fibonacci series of ‘n’ numbers (where n is defined by the user) using run time binding.


(The series should be: 1 1 2 3 5 8 13 21 32, and so on.)


8. (a) Develop an object-oriented program in C++ to read the following information from the keyboard in which the base class consists of employee name, code and designation, and the derived class containing the data members, viz. years of experience and age.


Employee name Employee code Designation


Years of experience Age


Design a virtual base class for the item employee name and code.


(b) Construct an object-oriented data base to carry out the following:


(i) build a master table


(ii) list a table


(iii) insert a new entry


(iv) delete old entry


(v) edit an entry


(vi) search for a record that is to be printed


(vii) sort entries








May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here