Please complete the following exercises in Chapter 7: R7-1 , 7-2 , 7-4 – Pg 357 E7-1 – Pg 366#################################################################### 1. For a given number, print a pyramid of that many levels. We’ve covered how to print out half of the pyramid similar to the following:*************** Now we want to print (notice the spacing) ** **** ****** ****************** 2.Write a program that lists the first 400 multiples of 13. List that number, followed by whether it is even or odd.3. Write a program that adds a letter to a string until the user wants to quit.4. Write a program that reads an initial investment balance and an interest rate. Then print the number of years it takes for the investment to reach one million dollars.
.Write a program that lists the first 400 multiples of 13.
07
Aug