Professional Documents
Culture Documents
Part A
Subject: Object Oriented Programming Code: 3CS4-06 Faculty Name: Priyanka Mitra
CO2: Apply the class structure as fundamental, building block for computational
programming.
Q1: Use for loops to construct a program that displays a pyramid on the screen using C++.
The pyramid should look like this:
121
12321
1234321
123454321
Q2: Write a program to display record of 5 students using C++ (Array of Structures).
Q3: Write a program to generate Fibonacci Series using class and objects
Q4: Describe the mechanism of accessing data members and member functions through C++
program in the following case: