Posts by Christian • 13 points
1 post
-
1
votes1
answer56
viewsQ: How to reduce the size of this function that contains multiple if?
I wanted to think of a logic that would decrease the size of this code, because it ends up repeating itself. It is an experience calculator for a game. You set your current level and the level you…