How to use an if statement to change output conditions based on changing input conditions.