Kotlinlearncs.online LogoJava
Return to List

Solve: Increase Me, Decrease Me

Created By: Justin Maier
/ Version: 2024.7.0

Two int variables have been declared and initialized for you: increaseMe and decreaseMe. The value of increaseMe should be increased by the original value of decreaseMe. The value of decreaseMe should be decreased by the original value of increaseMe, before increasing it. You do not need to print the value of the variables.

Hint: you will need to declare at least one more variable.

Related Lessons

Stuck? You may find these lessons helpful: