0% found this document useful (0 votes)
9 views2 pages

C++ Sourav

Uploaded by

bagotiyaboy48648
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views2 pages

C++ Sourav

Uploaded by

bagotiyaboy48648
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

A

PRACTICALFILE

ON

“OOPs using C++”


{Session 2024-25}

Submitted to: Submitted By:

Ms. Tanya SOURAV

Assistant Professor BCA 1st Year {2nd SEM}

In Computer Science Roll No 1240545042

DEPARTMENT OF MANAGEMENT & COMPUTER SCIENCE

VAISH COLLEGE BHIWANI


INDEX

SR. TOPICS PAGE SIGNAT


NO. NO. URE
1 write a program in c++ that accepts principle,rate
and time from the user and prints the simple
1-2
interest.

2 write program in c++ to swap the values of 3-4


two variables

3 write program in c++ to check whether the


5-6
given number is positive or
negative
4 write a program in c++ that inputs three 7-8
numbers and displays the
largest number using the ternary operator.
5 write a program in c++ pass values to the 9-11
constructor and members of
that class to those values
6 Create class called cube with the data
12-14
memberslenght, breadth, height, members
functions. To accept the details. To
calculate the volume of the cube. To display
the details.
7 c++ program to multiply two matrices by 15-18
passing matrix to function

8 increment++ and decrement- operator


19-22
overloading in c++ programming

9 c++ program to show function overloading. 23-25

10 c++ program to show inheritance 26-28

You might also like