I am working on a simple video game program for school and I have created a method where the player gets 15 health points if that method is called. I have to keep the health at
You don't need a separate case for each int above 85. Just have one else, so that if the health is already 86 or higher, then just set it directly to 100.