I am new to C++ and reading through the book. I am trying all the practice problems. Could someone maybe help me out with the first practice problem at the end of chapter 4. I can't figure out how to make the program accept two different inputs. I tried to make one x and one y. But the program I make only asks for the first input.
Here's the problem:
Ask the user for two users' ages, and indicate who is older; behave differently if both are over 100.
Thanks in advance. Sorry for the nooby question.