ATM: showing wrong answer

#include
using namespace std;
int main()
{
int n;
double total;
cout<<“Enter the amount to withdraw”<<endl;
cin>>n;
cout<<“Your account balance”<<endl;
cin>>total;
if( (n % 5) != 0)
{
cout<< n <<endl;
cout<< total;
}
else if(((n % 5) != 0)||(n>total))
{
cout<<total;
}
else
{
total = total - (n + 0.50);
cout<< total;
}
return 0;
}

Please, read FAQ - http://www.codechef.com/wiki/faq#How_does_Codechef_test_whether_my_solution_is_correct_or_not

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.