I have been struggling with this program all day, hoping for some help!
I have written out just about everything, but cannot seem to create a constructor that i can refer to in Main. Below are the two classes that i have created which include what i need (except a constructor). Could anyone show me how to do so?
So, I am trying to call the method "displayAges()" into the Main Class. However, I am running in to 2 problems:
1) I cant seem to create an accurate constructor
2) Im not even sure if the display method's equation in Main Class is correct.