Reference no: EM132355688
1. Membership Fees Increase .31 ccuntry club; which currently charges $2500 per year fcr membership, has anncunced it will increase its membership fee by 4% each year for the next six years. Write a program segment that uses a lccp to display the prcjected rates fer the next six years.
Write simple guessing game using the following specs:
1. Generate a random number between 1 and 1000.
2. Ask the player to guess the number. You will keep track of the number of guesses.
3. If the player's guess is higher than the number generated then display the message "Too High!" If the player's guess is within a 10-point difference of the number generated but higher than the number generated, then give the message "Getting warm but still high!"
4. If the player's guess is lower than the number generated then display the message "Too Low!" If the player's guess is within a 10 point difference of the number generated but lower than the number generated, then give the message "Getting warm but still Low!"
5. The program will keep taking guesses until the player guesses the number.
6. Once the player guesses the number, give them a congratulatory message like "You rock! You guessed the number in x tries!!" where x is the actual number of tries it took the player to guess the number. You can write message as long as you include the number of tries in the message.
7. Once the player has guessed the number, ask them if they wish to play again. If they do then generate another random number and start the game over again.
8. All input to the program will be interactive from the keyboard.