Exercise 1
1-Write a program that read the linear array A of 10 integer elements and generate another array B such that each element of B equals the square of the corresponding element in the matrix A
2-Write a program that read the linear array A of 25 integer elements and print the numbers that are greater than 10.
Apply the bubble sort algorithm to sort the following array
A[6]={12, 4, 6, 17, 10, 2}
3-Write a C++ code to implement a bubble sort algorithm.
4-Write a C++ code which read an array 0f 30 integer number then use a linear search algorithm to find the location of an element that entered by the user .