PROGRAMMING
6. Write a program that asks the user for an ending value. Ask the user for a number. Use a for loop to calculate and display the following.
Index and the value of the number
During each iteration of the loop the value of the number should double and add 1. Example if number is 2, the next value should be 5. The next value after that should be 11, and next would be 23.
SAVE AS midtermprogram6.cpp
-------------------------------------------
7. Membership Fees IncreaseA country club, which currently charges $2,500 per year for membership, has announced it will increase its membership fee by 4 percent each year for the next 6 years. Write a program that uses a loop to display the projected rates for the next 6 years.
SAVE AS midtermprogram7.cpp
5 years ago
25
Purchase the answer to view it

- solution.zip
- TEC 401 Week 1 Individual Assignment Technology and Management Functions Paper
- Brief History of Databases
- report for physics lab
- Rodeo5App
- PSY 340 Week 5 Individual Assignment Gender Identity Paper
- Systems and Multicultural Approach Paper
- Jared charges 18 cents per square inch for his frames. How much will he charge for a frame that measures...
- Using Language Effectively
- Assignment 2: Describing the Sample
- Materials were purchased on January 1, 2014, for $120,000 and this amount was entered in the Materials account. On December...