The programs show the usage of Single-Dimensional & Multi-Dimensional Arrays.
CPP-051: A C++ Program that declares and initialize an array of size 10 of type int with some elements. Also computes and display the largest element of the array.
CPP-052: A C++ Program that declares an array of size 10 that contains integers, initialize all elements by 0 and print the contents of the array. Then place consecutive even numbers starting from 2 and again display the contents of the array again and also computes and display the sum of the array.
CPP-053: A C++ Program that declares an array of size 10 and type int and reverse the contents of the array.
CPP-054: A C++ Program to print a histogram in the following pattern.
*
**
***
****
*****
[ using array ]
CPP-055: A C++ Program to print an array using funtion definition.
CPP-056: A C++ Program that reads the marks obtained of ten students out of 100 in four papers. It computes and display the total marks and status of each student.
CPP-057: A C++ Program to illustrate the difference b/w passing the whole array and the single array element as a parameter to a funtion.
CPP-058: A C++ Program to illustrate the Bubble Sorting of arrays.
CPP-059: A C++ Program to search an element in an array using Linear search.
CPP-060: A C++ Program to search an element in an array using Binary search.
CPP-061: A C++ Program that reads the marks obtained of ten students out of 100. It also computes the average, lowest and highest marks. Then shows the difference of marks of every student from the average marks.0
CPP-062: A C++ Program to declare an 2D array of 3*4 size of type int and initialize it by 5,10,15,... and print the contents of the array in a single line, row by row and also display its sum.