Unknown error for ATM proble

Hi,
I’m a beginner coder here and I don’t know what is wrong with my source code for ATM problem. Please help.

#include
#include
#include
int main()
{

double accountBalance;
int withdrawal;
std::cin >> accountBalance;
std::cin >> withdrawal;

if (accountBalance >= withdrawal && withdrawal > 0) {
    if (withdrawal % 5 == 0) {
        accountBalance = accountBalance - withdrawal - 0.50;
    }

} else {
    std::cout << "Error" << std::endl;
}

printf("%.2f", accountBalance);




return 0;

}