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:
public class Test
public static void Main()
float balance = 0;
string inputXY = Console.ReadLine().Trim().Split();
int money = int.Parse(inputXY);
float bank = float.Parse(inputXY);
balance = bank;
if (money% 5 == 0 &&money +0.5 <= bank)
balance = balance - money - 0.5f;