Program is in C++ The Luv-UR-$ Bank charges the following rates for its commerci
ID: 664835 • Letter: P
Question
Program is in C++
The Luv-UR-$ Bank charges the following rates for its commercial checking accounts:
Luv-UR-$ Bank Fees
Be sure to add 8.25% sales tax to each customer charge.
Here is an example program dialogues to guide your efforts:
Lemme Calculate Your Banking Fees!
Minimum Balance This Month:3300.50
Checks Processed This Month:15
Your Bank Fees This Month Will Be $1.62 Including 8.25% Sales Tax
Lemme Calculate Your Banking Fees!
Minimum Balance This Month:175.50
Checks Processed This Month:20
Your Bank Fees This Month Will Be $29.23 Including 8.25% Sales Tax
Your program should properly request input from the user and use constants to represent certain fixed values.
Luv-UR-$ Bank Fees
Description Cost Monthly Service Fee(Waived For All Accounts WIth A Minimum Balance Greater Than $1,000) $ 10.00 per month Checks Processed $ 0.10 per check processed Low Balance Fee (When Minimum Balance Falls Below $250) $ 15.00 per month
Explanation / Answer
working c++ code
#include<iostream>
#include<iomanip>
int main()
{
float i,bal,num,fees;
for (i=0;i<2;i++)
{
cout<<"Lemme Calculate Your Banking Fess! ";
cout<<"Minimum Balance This Month:";
cin >> bal;
cout<<"Checks Processed This Month:";
cin>>num;
fees = (0.1*num*108.25)/100;
if (bal < 250)
fees = fees+15;
cout<<"Your Bank Fees This Month Will Be $"<<setprecision(3)<<fees<<" Including 8.25% Sales Tax";
}
}
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.