Question: TASK 1 - (30 marks) : Using Object Oriented Programming (OOP) approach, write a Ct+ program to determine the perimeter of a square. Consider the

 TASK 1 - (30 marks) : Using Object Oriented Programming (OOP)

TASK 1 - (30 marks) : Using Object Oriented Programming (OOP) approach, write a Ct+ program to determine the perimeter of a square. Consider the square as a class with the length as the attributes. Answer (show your program and the output): TASK 2 - (35 marks ): Using Object Oriented Programming (OOP) approach, write a C++ program to determine the volume of two boxes named as Box A and Box B. In this case, the class is the box, and the objects are Box A and Box B. The attributes for each box is given in the table below. Answer (show your program and the output): TASK 3 - (35 marks): Using Object Oriented Programming (OOP) approach, write a C++ program to demonstrate the data for the given CRN of EGN 2712. You can implement the EGN2712 as a class, and the parameters of CRN number, Semester, and Number of Students as the objects. The output required from your program is shown as below. Answer (show your program and the output)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!