0% found this document useful (0 votes)
551 views18 pages

Mcom Computer Application Project

This document contains a bona fide certificate and record of work done by a student in the Programming in C++ lab from June 2020 to December 2020 at HAJEE KARUTHA ROWTHER HOWDIA COLLEGE. It includes 14 programming assignments completed by the student, with details of each program, date, aim, procedures, output and result. The document will be submitted for the Master of Commerce with Computer Application practical examination.

Uploaded by

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

Mcom Computer Application Project

This document contains a bona fide certificate and record of work done by a student in the Programming in C++ lab from June 2020 to December 2020 at HAJEE KARUTHA ROWTHER HOWDIA COLLEGE. It includes 14 programming assignments completed by the student, with details of each program, date, aim, procedures, output and result. The document will be submitted for the Master of Commerce with Computer Application practical examination.

Uploaded by

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

HAJEE KARUTHA ROWTHER HOWDIA COLLEGE

(An Autonomous Institution Affiliated to Madurai Kamaraj University, Madurai.)

Uthamapalayam – 625533.

PG DEPARTMENT OF COMMERCE WITH COMPUTER APPLICATION

M.COM [COMPUTER APPLICATION]

PROGRAMMING IN C++ - LAB

SEMESTER –III

NAME : _____________________________

REG.NO : _____________________________

DECEMBER – 2020
HAJEE KARUTHA ROWTHER HOWDIA COLLEGE
(An Autonomous Institution Affiliated to Madurai Kamaraj University, Madurai.)

Uthamapalayam – 625533.

BONAFIDE CERTIFICATE

NAME : _____________________________

REG.NO : _____________________________

This is to certified that the bona-fide record work done by


______________________ in the Programming in C++ - LAB during the
period from June 2020 to December 2020.

Staff In-charge Head of the Department

Submitted for the Master of Commerce with Computer Application


Practical examination held on ___________ at HAJEE KARUTHA
ROWTHER HOWDIA COLLEGE, Uthamapalayam

INTERNAL EXAMINER EXTERNAL EXAMINER


CONTENT

STAFF
S.NO DATE PROGRAM LIST P.NO
SIGN

PROGRAMMING IN C++ - LAB

1 Program to find smallest among n numbers

2 Reverse a string

3 Find m power n values using default arguments.

4 Program to perform Simple banking operation.

5 Matrix calculation using Two dimensional Array

6 Program using Recursion

Program to implement a student class having roll


7 no., name, rank, addresses as data members
using Single Inheritance.

Programs using Multiple Inheritance,


8 Hierarchical Inheritance.

9 Swapping of two values using friend function

Program to generate all the prime numbers


10 between 1 and n , where n is a value supplied by
the user.

11 Program which copies one file to another.

Program that counts the characters, lines and


12 words in the text file.

Program to count the lines, words and characters


13 in a given text.

Program to determine if the given string is a


14 palindrome or not.
Ex. No.1
SMALLEST OF N NUMBER
Date :

AIM:
Create a program of smallest ”N” number using from turbo C++

PROCEDURES:
STEP 1: Start all program then choose a turbo c ++ option.
STEP 2: Select the new option from file menu.
STEP 3: Header file include then main function start the program
codding.
STEP 4: Declare the Variables
STEP 5: GET value from user using cout&cin function and
STEP 6: Compile and run the program.

OUTPUT:

RESULT:
This program run done successfully.
Ex. No.2
REVERSE THE STRING
Date :

AIM:
Create a REVERSE STRING program using turbo C++

PROCEDURES:
STEP 1: Start all program then choose a turbo c ++ option.
STEP 2: Select the new option from file menu.
STEP 3: Header file include then main function start the program
coding.
STEP 4: Declare the variables
STEP 5: GET value from user using cout & cin function
STEP 6: Using two for loop to read the given string and compare upto
null character
STEP 7: Compile and run the program.

OUTPUT

RESULT
This program run done successfully.
Ex. No.3
M POWER N USING FUNCTION
Date :

AIM:
Create a M POWER “N” FUNCTION program using from turbo
C++

PROCEDURES:
STEP 1: Start all program then choose a turbo c ++ option.
STEP 2: Select the new option from file menu.
STEP 3: Header file include then main function start the program
coding.
STEP 4: Declare the variable
STEP 5: GET value from user using cout & cin and find the value
using pow () function
STEP 6: Compile and run the program.

OUTPUT:

RESULT:
This program run done successfully.
Ex. No.4
SIMPLE BANKING OPERATION
Date :

AIM:
Create a SIMPLE BANKING OPERATION program using from
turbo C++

PROCEDURES:
STEP 1: Start all program then choose a turbo c ++ option.
STEP 2: Select the new option from file menu.
STEP 3: Header file include then main function start the program
codding.
STEP 4: GET value from user using cout&cin function
STEP 5: Perform add and subtract the amount in given balance and
view the balance using constructor
STEP 6: Compile and run the program.

OUTPUT:

RESULT:
This program run done successfully.
Ex. No.5
MATRIX CALCULATION
Date :

AIM:
Create a matrix calculation using two dimensional program using
from turbo C++

PROCEDURES:
STEP 1: Start all program then choose a turbo c ++ option.
STEP 2: Select the new option from file menu.
STEP 3: Header file include then main function startthe program
coding.

STEP 4: Declare the variables and Array


STEP 5: GET value from user using cout& cin using loop statement to
perform matrix calculation
STEP 6: Compile and run the program.

OUTPUT:

RESULT:
This program run done successfully.
Ex. No.6
RECURSION FUNCTION
Date :

AIM:
Create a RECURSION FUNCTION program using from turbo C++

PROCEDURES:
STEP 1: Start all program then choose a turbo c ++ option.
STEP 2: Select the new option from file menu.
STEP 3: Header file include then main function start the program
coding.

STEP 4: Declare the variables and functions


STEP 5: GET value from user using cout&cin
STEP 6: Call the fact function to calculate and print the result
STEP 7: Compile and run the program.

OUTPUT:

RESULT:
This program run done successfully.
Ex. No.7
SINGLE INHERITANCE
Date :

AIM:
Create a SINGLE INHERITANCE program using from turbo C++

PROCEDURES:
STEP 1: Start all program then choose a turbo c ++ option.
STEP 2: Select the new option from file menu.
STEP 3: Header file include then main function start the program
coding.
STEP 4: Program using single inheritance concept
STEP 5: GET value from user using cout & cin. student roll no,
marks, result, grade

STEP 6: Compile and run the program.

OUTPUT:

RESULT:
This program run done successfully.
Ex. No.8
MULTIPLE INHERITANCE
Date :

AIM:
Create a MULTIPLE INHERITANCE program using from turbo
C++

PROCEDURES:
STEP 1: Start all program then choose a turbo c ++ option.
STEP 2: Select the new option from file menu.
STEP 3: Header file include then main function start the program
coding.
STEP 4: Program using multiple inheritance concept
STEP 5: GET value from user using cout&cin.
STEP 6: The base class contain the basic information of the student
STEP 7: The derived class used find the sports mark and total mark of
the student
STEP 8: Compile and run the program.

OUTPUT:

RESULT:
This program run done successfully.
HIERARCHICAL INHERITANCE

AIM:
Create a HIERARCHICAL program using from turbo C++

PROCEDURES:
STEP 1: Start all program then choose a turbo c ++ option.
STEP 2: Select the new option from file menu.
STEP 3: Header file include then main function start the program
coding.
STEP 4: GET value from user.using cout&cin
STEP 5: Base class contain all detail of family
STEP 6: There are two class are derived from the base class that
gender wise class
STEP 7: Compile then run the program.

OUTPUT:

RESULT:
This program run done successfully.
Ex. No.9
SWAPPING OF TWO VALUES
Date :

AIM:
Create a swapping of two values program using from turbo C++

PROCEDURES:
STEP 1: Start all program then choose a turbo c ++ option.
STEP 2: Select the new option from file menu.
STEP 3: Header file include then main function start the program
coding.
STEP 4: Declare the variable and temp variables
STEP 5: Declare the function using friend function
STEP 6: GET value from user using cin function and swap the values
using temp variable
STEP 7: Compile and run the program.

OUTPUT:

RESULT:
This program run done successfully.
Ex. No.10
PRIME NUMBER
Date :

AIM:
Create a PRIME NUMBER program using from turbo C++

PROCEDURES:
STEP 1: Start all program then choose a turbo c ++ option.
STEP 2: Select the new option from file menu.
STEP 3: Header file include then main function start the program
coding.
STEP 4: Declare the variable.
STEP 5: GET value from user using cin function and using control
statements and operator find the number is prime or not

STEP 6: Compile and run the program.

OUTPUT:

RESULT:
This program run done successfully.
Ex. No.11
COPY ONE FILE TO ANOTHER FILE
Date :

AIM:

Create a COPY ONE FILE TO ANOTHER FILE program using


from turbo C++

PROCEDURES:
STEP 1: Start all program then choose a turbo c ++ option.
STEP 2: Select the new option from file menu.
STEP 3: Header file include then main function start the program
coding.
STEP 4: Declare the variables
STEP 5: Using file stream object to identify the location of file which
is copied again
STEP 6: Compile and run the program.

OUTPUT:

RESULT:
This program run done successfully.
Ex. No.12 COUNT THE CHARACTER IN A TEXT
Date : FILE

AIM:

Create a COUNT THE CHARACTER IN A TEXT FILE program


using from turbo C++

PROCEDURES:
STEP 1: Start all program then choose a turbo c ++ option.
STEP 2: Select the new option from file menu.
STEP 3: Header file include then main function start the program
coding.

STEP 4: Declare the variable


STEP 5: Using file stream object to identify the location of file
STEP 6: Stream return the numbers of characters and words of the
given file
STEP 7: Compile and run the program.

OUTPUT:

RESULT:
This program run done successfully.
Ex. No.13
COUNT THE LINE & CHARACTER
Date :

AIM:

Create a COUNT THE LINE & CHARACTER program using


from turbo C++

PROCEDURES:
STEP 1: Start all program then choose a turbo c ++ option.
STEP 2: Select the new option from file menu.
STEP 3: Header file include then main function start the program
coding.
STEP 4: Declare the variable
STEP 5: Using file stream object to read the given text
STEP 6: Stream return the numbers of characters and words of the
given text
STEP 7: Compile and run the program

OUTPUT:

RESULT:
This program run done successfully.
Ex. No.14
PALINDROME
Date :

AIM:

Create a program give style string palindrome or not using from


turbo C++

PROCEDURES:
STEP 1: Start all program then choose a turbo c ++ option.
STEP 2: Select the new option from file menu.
STEP 3: Header file include then main function start the program
coding.
STEP 4: GET value from user using cout &cin
STEP 5: Declare the variable and use For loop and control statement s
can be used
STEP 6: Compile and run the program.

OUTPUT:

RESULT:
This program run done successfully.

You might also like