Hello,
I'm new on this forum, I'm from Belgium, this is my first year IT and I'm 19 years old.
I want that you help me with my problems about programming.
The first problem is that the numbers don't round in IntelliJ.
Example: (sorry, it's in Dutch)
Geef de vorige kilometerstand: 125
Geef de huidige kilometerstand: 900
Geef het aantal getankte liters: 50
Verbruik voor 775km: 6.451612903225806/100km
That 6.4516..... is the problem, how can I make it 6.45/100km?
If you want a picture of the program that I wrote, just ask it.
thanks!