MAIT4us - Home
27. Create a base class basic_info with data members name ,roll no, sex and two member functions getdata and display. Derive a class physical_fit from basic_info which has data members height and weight and member functions getdata and display. Display all the information using object of derived class
CODING:
#include
#include
#include
class basic_info
{
char name[25];
int rno;
char sex;
public:
void getdata();
void putdata();
};
void basic_info::getdata()
{
cout ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related searches
- home financing calculator
- home health hiring
- home loan calculator
- home mortgage calculator
- home speech home wh questions
- home parties for home decor
- home speech home word list
- home loan vs home equity loan
- home decor home party companies
- home based home decor businesses
- home inspection checklist printable home inspection checklist new
- home interiors in home parties