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

Method Withdraw

Lab_15/Source.cpp:186–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184 }
185
186 void Withdraw()
187 {
188 cout << " Enter the balance you want to withdraw: ";
189 cin >> withdraw;
190 if (balance - withdraw > 100)
191 {
192 balance = balance - withdraw;
193 cout << " Successfully done!\n\n";
194 }
195 else if (balance - withdraw < 0)
196 {
197 cout << " You do not have such balance of money in your account!\n";
198 cout << " Your balance is " << balance << endl;
199 system("pause");
200 system("cls");
201 Withdraw();
202 }
203 }
204
205 void Compute_Interest()
206 {

Callers 1

F_Second_ProgramFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected