Quezon City University: Pf101 - Object Oriented Programming
Quezon City University: Pf101 - Object Oriented Programming
NAME:
SCORE PERCENTAGE
STUDENT NO:
YEAR/SECTION:
DATE:
INSTRUCTIONS:
- Create a program that will demonstrate the proper way of defining a class. The program demonstrates
a Box class, with three data members’ variable, (length, breadth and height)
The program will compute for the volume (Object) of the box with the following given specifications:
Box1.height = 5.0
Box1.length = 6.0
Box1.breadth = 7.0
Box2.height = 10.0
Box2.length = 12.0
Box2.breadth = 13.0
Sample Output:
Note: