Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main()
- {
- float current_balance,
- final_balance,
- under_minimum,
- alert_funds,
- final_check_charge;
- double number_checks;
- cout << "Please enter the current balance: ";
- cin >> current_balance;
- cout << "Enter the number of checks you wish to process: ";
- cin >> number_checks;
- cout << "Please verify the current balance: ";
- cin >> final_balance;
- if (number_checks <= 19)
- (final_check_charge = number_checks * 0.10);
- else (number_checks >= 20 || <= 39)
- (final_check_charge = number_checks * 0.08);
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement