Question
Write a C++ program to define an Account class. Derive classes Saving_Account and Current Account from the Account class. Define proper constructors for all the three classes. Define methods to display account details and account balance.
Answer :
Word Count : 95
_______ _________ _____ _________ _______ ________ _________ __________ ________ ___ _______.
________ __________ ________ _____ _____ __________ _________ __________ ____.
________ ___ ________ ___ __________ ________ ______ _______ ____ _______ ___ ________.
_____ _______ __________ ___ ______ _________ ___ _______ ___ ___ ___.
____ __________ _____ _______ _______ ____ _________ _____.
______ ______ ____ __________ ___ ______ __________ ____ ______.
_____ ___ ___ _____ _________.
_________ ____.
Skip in 10
#include<iostream.h>
#include<conio.h>
#include<stdio.h>
class oper
{
int s,s1,s2,s3,s4,s5;
//cout<<"USE OF AIRHTEMATIC OPERATOR";
public:
void sum(int a,int b)
{
cout<<"USE OF AIRHTEMATIC OPERATOR"<<endl;
s=a+b;
cout<<"sum="<<s<<endl;
}
void subtract(int c,int
________ __________ ________ _____ _____ __________ _________ __________ ____.
________ ___ ________ ___ __________ ________ ______ _______ ____ _______ ___ ________.
_____ _______ __________ ___ ______ _________ ___ _______ ___ ___ ___.
____ __________ _____ _______ _______ ____ _________ _____.
______ ______ ____ __________ ___ ______ __________ ____ ______.
_____ ___ ___ _____ _________.
_________ ____.
IGNOU ACADEMY
Your IGNOU journey, made easier.
- Solved Assignments
- Study Notes
- Guess Papers
- Question Papers
Continue Reading — It's Free
Sign in with Google to unlock more of this answer.
✓ Free access
✓ Unlock up to 60% of the answer
✓ No payment required
✓ Unlock up to 60% of the answer
✓ No payment required
Quick Google sign-in. No separate registration form.