p 2

profileaytff7

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.

  • 10 years ago
  • 15
Answer(1)

Purchase the answer to view it

blurred-text
  • attachment
    addletter_.txt
  • attachment
    calulateinterest.txt
  • attachment
    no1pyramid.txt
  • attachment
    no2multiplesof13.txt
  • attachment
    pg_357_r71.txt
  • attachment
    pg_357_r72.txt
  • attachment
    pg_357_r74.txt
  • attachment
    pg_366_e71.txt
Bids(1)