I have been trying to create this program using pointers, below is what I have done so far, however I am not quite getting the pointers part.
I have created a program that will prompt the user for the current year (integer), their current age (integer), and the number of years married (integer).
I have to use pointers, display the year of the personís 25th anniversary, the year of the personís 50th anniversary, and how old they will be on both their 25th and 50th anniversaries.
This is what I have so far:
(see attached cpp file)
Will someone who knows about pointers see if you help me out.