using namespace std;
cout<<“Enter the amount to withdraw”<<endl;
cout<<“Your account balance”<<endl;
if( (n % 5) != 0)
cout<< n <<endl;
else if(((n % 5) != 0)||(n>total))
total = total - (n + 0.50);
If your program starts by printing ‘Enter the number’ and the problem does not tell you to do so, then since this is not part of the correct output, you will be never be judged correct regardless of what the rest of your program does.