Someone, Anyone please help me with one of the Questions for my hw!

the questions is : Display name and average age of the 3 students using object oriented program. Use get line and set classes
Last edited on
Show us you tried first then we can help you.
but i dont know how to do it rt now ill show u what i did its not much!
Showing us what you did is always a good starting point.
closed account (48T7M4Gy)
1. design a student class - name and age
2. in main create 3 students - name, age
3. for each student, display their details, get their age and add to total
4. divide total by 3 and display the answer

( Maybe step 1 is already done?)
Last edited on
Topic archived. No new replies allowed.