Introduction to Computers Programming (ICP-132)

Main Page

Assignment 01
Assignment 02
Assignment 03
Assignment 04
Assignment 05
Assignment 06
Assignment 07
Assignment 08
Assignment 09
Assignment 10
Assignment 11
Assignment 12
Assignment 13

Coding rules (pdf)
Sample code
Prob: Set 1
Prob: Set 2
Compiler options
Submission

Forum
Teaching Assistants
Links
Trivia

Assignment 11

Using the class B as stated above as a base class, construct a derived class:

a. T that treats p and q has base and height of a triangle and supports a method that gives area.
b. R that treats p and q has length and breadth of a rectangle and supports a method that gives its area.


PS: The program should be coded in C++.