1) prepare program to print the following stars in the screen.
*
**
****
********
****************
2) Suppose your $1,000 is earning interest at 4% per year. How many years you need to double your money? prepare program to count the number of years.
3) In chess, the knight moves in a very special way: either: two squares forward and one to the side or: one square forward and two to the side.
prepare a program in C++ to describe the Probability of the moves
4) Suppose three dimensional array a [2][2][3]
Initialized with the following a [row][col][dep] = row*col*dep;
prepare program to find out the summation of all even elements of the array.