Question: 5. Lab Exercise C++ Inheritance Question 1 - Access Levels Fill in the blanks in the following table which describes the access levels in a

5. Lab Exercise C++ Inheritance Question 1 - Access Levels Fill in the blanks in the following table which describes the access levels in a derived class's members. i.e. State whether the member's access level is public, private, or protected - or, if it is not accessible! Class Access specifier Base Class Member Access Level Derived Class Member Access Level public private public protected protected private public protected : private private public protected : Question 2 - Programming Exercise Start with the repl code provided to you. Finish the program so that it compiles and runs. The instructions are contained in the C++ file. Your completed program should generate output similar to the following: TwoD default constructor This program asks for the coordinates of two points in 3D space and calculates their distance. Please enter the xyz coordinates for the first point: 111 Please enter the xyz coordinates for the second point: 2 3 4 TWOD constructor with two arguments Distance is: 3.74166 The following refreshes your memory on how to calculate the distance between two points in 3D place. Suppose we have the following two points in a 3D space
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
