# include <iostream>
# include <string>
# include <iomanip>
using namespace std;
int main ()
{ int accountNumber;
char accountType;
int savingFee;
int checkingFee;
int number;
double Balance;
const double Saving_account_interest=0.04;
const double Checking_account_special=0.03;
const double Checking_account_regular=0.05;
const double Saving_account_fee=10;
const double Checking_account_fee=25;
cout<<fixed<<showpoint;
cout<<setprecision(2);
cout<<"Please input your account number"<<endl;
cin>>accountNumber;
cout<<endl;
cout<<"Enter account type:"
<< "S or s (Saving),"
<< "C or c (Checking),"<<endl;
cin>>accountType;
cout<<endl;
switch (accountType)
{
case 's':
case 'S':
cout <<"enter the number"<<endl;
number=1000;
if(number>=5000)
number=number*Saving_account_interest;
else (number<=5000);
number=number*Saving_account_interest+Saving_account_fee;
break;
case 'c':
case 'C':
number=1000;
if (number>5000)
number=number*Checking_account_special;
else (number<5000);
number=number*Checking_account_regular+Checking_account_fee;
I'm not trolling you either, Look at the last line before the close brace on your "main(...)" function. What does it say? Ok, now read the "error" you think you have, what does it say? Your problem, I think, is this atrocious little number:
@ hanst99: Yeah, but when has that ever mattered to half the people posting on this form? At this point I'm happy to see questions about the right language most of the time.