1 e/* SavingsAccount.h * Header file for SavingsAccount class * efile SavingsAccount.h @author Javaria Basit * This file SavingsAccount.h consist of class SavingsAccount and it is a private class * This is also a drived class for the base class BankAccount 8 #ifndef SAVINGSACCOUNT_H #define SAVINGSACCOUNT H #include "BankAccount.h" using namespace std; 3 oclass SavingsAccount:public BankAccount { private: double interest_rate; double nin_balance; public: SavingsAccount(); SavingsAccount(string, double,double); void withdraw(double); void set_interest rate(double); double get_interest_rate(); void display balance(); void nonth_end(); ); #endif

Enhanced Discovering Computers 2017 (Shelly Cashman Series) (MindTap Course List)
1st Edition
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Chapter4: Programs And Apps: Productivity, Graphics, Security, And Other Tools
Section: Chapter Questions
Problem 8CT
icon
Related questions
Question

i need documentation for class objects

Activities
O Geany -
Oct 29 16:36
*SavingsAccount.h - /home/cnet/Lab 7 - Geany
File Edit Search View Document Project Build Tools Help
Documents
PrintMeFirst.h 8
SavingsAccount.h O
SavingsAccount.cpp
CheckingAccount.h 8
CheckingAccount.cpp 8
BankAccount.h
BankAccount.cpp O
Makefile
Money.h
E/* SavingsAccount.h
* Header file for SavingsAccount class
* @file SavingsAccount.h
* @author Javaria Basit
* This file SavingsAccount.h consist of class SavingsAccount and it is a private class
* This is also a drived class for the base class BankAccount
L */
e#ifndef SAVINGSACCOUNT_H
#define SAVINGSACCOUNT_H
#include "BankAccount.h"
using namespace std;
~/Lab 5
c- Money.h
|~/Lab 7
c BankAccount.cpp
c BankAccount.h
bankTest.cpp
c CheckingAccount.cpp
- CheckingAccount.h
A Makefile
co PrintMeFirst.cpp
c+ PrintMeFirst.h
aclass SavingsAccount:public BankAccount {
private:
double interest_rate;
double min_balance;
public:
SavingsAccount();
SavingsAccount(string, double, double);
void withdraw(double);
void set_interest_rate(double);
double get_interest_rate();
void display_balance();
void month_end();
};
#endif
c SavingsAccount.cpp
- SavingsAccount.h
26
27
make (in directory: /home/cnet/Lab 7)
|g++ bankTest.o BankAccount.o CheckingAccount.o SavingsAccount.o PrintMeFirst.o -o bankTest
Compilation finished successfully.
Compiler
line: 27/27 col: 0
sel: 0
INS
ТАВ
MOD
mode: LF encoding: UTF-8 filetype: C++ scope: unknown
123456789DHD 2을을임8222222기
Transcribed Image Text:Activities O Geany - Oct 29 16:36 *SavingsAccount.h - /home/cnet/Lab 7 - Geany File Edit Search View Document Project Build Tools Help Documents PrintMeFirst.h 8 SavingsAccount.h O SavingsAccount.cpp CheckingAccount.h 8 CheckingAccount.cpp 8 BankAccount.h BankAccount.cpp O Makefile Money.h E/* SavingsAccount.h * Header file for SavingsAccount class * @file SavingsAccount.h * @author Javaria Basit * This file SavingsAccount.h consist of class SavingsAccount and it is a private class * This is also a drived class for the base class BankAccount L */ e#ifndef SAVINGSACCOUNT_H #define SAVINGSACCOUNT_H #include "BankAccount.h" using namespace std; ~/Lab 5 c- Money.h |~/Lab 7 c BankAccount.cpp c BankAccount.h bankTest.cpp c CheckingAccount.cpp - CheckingAccount.h A Makefile co PrintMeFirst.cpp c+ PrintMeFirst.h aclass SavingsAccount:public BankAccount { private: double interest_rate; double min_balance; public: SavingsAccount(); SavingsAccount(string, double, double); void withdraw(double); void set_interest_rate(double); double get_interest_rate(); void display_balance(); void month_end(); }; #endif c SavingsAccount.cpp - SavingsAccount.h 26 27 make (in directory: /home/cnet/Lab 7) |g++ bankTest.o BankAccount.o CheckingAccount.o SavingsAccount.o PrintMeFirst.o -o bankTest Compilation finished successfully. Compiler line: 27/27 col: 0 sel: 0 INS ТАВ MOD mode: LF encoding: UTF-8 filetype: C++ scope: unknown 123456789DHD 2을을임8222222기
Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Class
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning