Question: Write a C + + program that performs the following tasks: Create a Student class with the following features: Attribute: name ( string ) age
Write a C program that performs the following tasks:
Create a Student class with the following features:
Attribute:
name string
age int
grade array of int, size
Methods:
inputDetails: This function will updateinitialize the class attributes; name, age and grade.
setDetails: This function will initialize the attribute with the given parameters. studentage array
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
