BCSL-032 C++ Programming Lab Solved Assignment 2022-23
|Course Title||C++ Programming Lab|
|Assignment Code||BCA (3)/ L-032/Assignment/2022-23|
|Submission Date||31st October, 2022 (For July Session)
15th April, 2023 (For Jan Session)
- Complete Assignments
- Lowest Price
- Secure Payments
Q1. (a) Write a C++ program to demonstrate us of different data types in C++.
(b) Write a C++ program to create Shape class which is having abstract method area(). Derive classes Triangle and Rectangle from Shape class. Override area method in Triangle class and Rectangle class to find the area of the respective shape. Make necessary assumptions if any.
Q2. (a) Demonstrate exception handling in C++ by writing a program for simple calculator. Make necessary assumptions.(b) Write C++ program to demonstrate operator overloading, by overloading + operator for adding two matrices.
There are no reviews yet.