MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / Deposit

Method Deposit

Lab_15/Source.cpp:108–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106
107public:
108 void Deposit()
109 {
110 cout << " Enter your deposit balance: ";
111 cin >> amount;
112
113 if (amount >= 100)
114 {
115 balance = balance + amount;
116 cout << " Successfully added!\n\n";
117 }
118 else
119 {
120 cout << " Deposit cannot be less than 100$\n\n";
121 system("pause");
122 system("cls");
123 Deposit();
124 }
125 }
126
127 void Balance()
128 {

Callers

nothing calls this directly

Calls 1

DepositFunction · 0.85

Tested by

no test coverage detected