Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Essay

C++ program

Rating
-
Sold
-
Pages
60
Grade
A
Uploaded on
15-03-2023
Written in
2022/2023

Essay of 60 pages for the course systems that are user-friendly and intuitive. It i at systems that are user-friendly and intuitive. It i (C++ program)

Institution
Course

Content preview

DWARAKA DOSS GOVERDHAN DOSS VAISHNAV
EVENING COLLEGE (AUTONOMOUS)
ARUMBAKKAM, CHENNAI-600 106




DEPARTMENT OF
COMPUTER APPLICATIONS

Bachelor of Computer Applications



C++ PROGRAMMING LAB

,DWARAKA DOSS GOVERDHAN DOSS VAISHNAV EVENING
COLLEGE (AUTONOMOUS)
ARUMBAKKAM, CHENNAI-600 106




DEPARTMENT OF COMPUTER APPLICATIONS

C++ Programming Lab


Certified that this is a record work done by …………………………………….
whose Register no. ………………………… of I B.C.A., during the academic year
2021 – 2022.




Faculty In-charge Head of the Department


Submitted for practical examination held on ………….…………… at Dwaraka
Doss Goverdhan Doss Vaishnav College, Chennai-106.




Internal Examiner External Examiner

,Sl.
Date Program Name Page No Signature
No.
1. C++ Operators
Arithmetic Operators, Bitwise Operators, Ternary
a
Operator, sizeof Operator
2. Decision Making Statements

a Relation between two numbers using simple-if

Check whether the given number is positive, negative
b
or zero using if-else

c Largest of 3 given numbers using nested-if

d Print the result of a student using else-if ladder

Display the number of days in the given month using
e
switch-case
3. Loop Statements
Reverse the given number and find out the sum of
a
digits using while loop
Check whether the given number is prime or not
b
using do-while loop
c Generate Fibonacci Series using for loop


4 Mathematical Library Functions
5 Inline function
6 Function Overloading
7 Class and Objects
8 Passing Object to Function
9 Returning Object from Function
10 Constructor and Destructor
11 Static data members and member functions
12 Operator Overloading
13. Inheritance
a Single Inheritance
b Multilevel Inheritance
c Multiple Inheritance


14 Virtual Function
15 Command Line Arguments

, Ex. No: 1
Date:


PROGRAM USING OPERATORS

Aim: To write a C++ program to illustrate the usage of various operators.

Algorithm:

1. Start the program.

2. Read two integers num1 and num2.

3. Perform all arithmetic operators on them and print the result.

4. Perform bitwise AND, OR, One‟s complement, shift left and shift right.

5. Apply post increment and pre increment on those numbers num1 and num2 and print the

answer.

6. Apply the special operator sizeof() on the data types and check the bytes occupied.

7. Check the number num1 is odd or even by conditional or ternary operator.

8. Stop the program.

Written for

Course

Document information

Uploaded on
March 15, 2023
Number of pages
60
Written in
2022/2023
Type
ESSAY
Professor(s)
Unknown
Grade
A

Subjects

$50.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
lokeshg

Get to know the seller

Seller avatar
lokeshg Exam Questions
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions