Question: Q#2: (1.5 Points): Write a C++ program using class according to the following: 1- Crate a class called person that includes the variable members -
Q#2: (1.5 Points): Write a C++ program using class according to the following: 1- Crate a class called person that includes the variable members - name as string, 2- Include a default constructor that initialize name to "Jadara" if no arrangement is supplied, otherwise, set the name to the supplied arrangement. 3- Define a function that displays the name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
