Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

Lab # 08

Task # 01:
Objective: Write a program to calculate the volume of Box using Class method.
Source Code:

Output:

Task # 02:
Objective:Write a program to calculate the volume of Box using Class method
also using get and show command.
Source Code:
Output:

Task # 03:
Objective: Write a program to the volume of two boxes using class method.
Source Code:
Output:
Task # 04:
Objective: Write a program to calculate the Area of two circle through class and
using instance variable and print
Source Code:

Output:

You might also like