cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
Someone, Anyone please help me with one
Someone, Anyone please help me with one of the Questions for my hw!
Sep 23, 2015 at 3:40am UTC
margolib
(2)
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
Sep 23, 2015 at 3:50am UTC
Sep 23, 2015 at 3:50am UTC
Hippogriff
(727)
Show us you tried first then we can help you.
Sep 23, 2015 at 3:53am UTC
margolib
(2)
but i dont know how to do it rt now ill show u what i did its not much!
Sep 23, 2015 at 4:04am UTC
YFGHNG
(319)
Showing us what you did is always a good starting point.
Sep 23, 2015 at 4:39am UTC
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
Sep 23, 2015 at 4:40am UTC
Topic archived. No new replies allowed.