Question #278451

Write a c++ program to define a base class for account, derive two classes namely saving account and current account.

Expert's answer

#include<iostream>
using namespace std;
class Account{
	
};


class savingsAccount: Account{
	
};




class currentAccount: Account{
	
};
LATEST TUTORIALS
APPROVED BY CLIENTS