I dont now my fault


#1

C#

Hey i have a problem. I tried to solve my first problem, but the compiler says that i have a NZEC.
So i thought maybe you could help me.
Here is my code:
using System;

public class Test
{
public static void Main()
{
float balance = 0;
string []inputXY = Console.ReadLine().Trim().Split();
int money = int.Parse(inputXY[0]);
float bank = float.Parse(inputXY[1]);
balance = bank;
if (money% 5 == 0 &&money +0.5 <= bank)
{
balance = balance - money - 0.5f;
}
Console.WriteLine("{0:f2}", balance);
}
}