0% found this document useful (0 votes)
26 views17 pages

C++Lec5 Application For Arrays and Data Structure

The document discusses several C++ programs that use arrays and data structures. It outlines 9 programs including comparing strings, adding matrices, finding the largest element of an array, converting between number bases, and calculating averages.

Uploaded by

haponabeel
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)
26 views17 pages

C++Lec5 Application For Arrays and Data Structure

The document discusses several C++ programs that use arrays and data structures. It outlines 9 programs including comparing strings, adding matrices, finding the largest element of an array, converting between number bases, and calculating averages.

Uploaded by

haponabeel
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/ 17

C++

Application for
Arrays and Data
Structure
Lecture – 5

Dr. Aghabi Abosaif


October 2023

1
Program-1
Compare Two strings Together
Program- 2
 program calculates the number of days from the
beginning of the year to a date specified
 by the user.
Program-2: Compare Two strings Together
Program-3/1: Add Two Matrices using Multi-dimensional Arrays
Program-3/2: Add Two Matrices using Multi-dimensional Arrays
Program-4: Display Largest Element of an array
Program-5/1: Program to Time Difference
Program-5/2: Program to Time Difference
Program-5/3: Program to Time Difference
Program-6: Decimal to Binary using an Array in C++
Program-7: Print ASCII Value in C++
Program-8/1: Program to Convert Binary to Octal
Program-8/2: Program to Convert Binary to Octal
Program-8/2: Program to Convert Binary to Octal
Program-9: Calculate Average of Numbers Using Arrays

You might also like