Hi so I’m trying to write a program that will calculate for me the final price for car rent.
I’m trying to make it that for every 1000km it would add €10 so 2000km would add €20 and if it’s below 1000km it wouldn’t add €10 but I don’t know what way to go about it. Is it a simple maths problem or?