Question: Programming Exercise 5 The tuition is $6,000 per semester and increases by 2% each year for the next 5 years. Design a Raptor program with

Programming Exercise 5

The tuition is $6,000 per semester and increases by 2% each year for the next 5 years. Design a Raptor program with a loop that displays the projected semester tuition amount for the next 5 years.

Added Specs:

  1. create your solution in Raptor
  2. you must not use any "global" variables -- all variables used in each module must be locally declared
  3. the starting tuition will be provided by the user
  4. the tuition will increase be provided by the user as an annual percentage, e.g., 2.5 would be a 2.5% annual percentage increase.
  5. the number of years to display will be provided by the user
  6. create modules to handle input, process, and output -- you must name them appropriately, e.g. input might be named getInput
  7. each module must do its respective task, and no other
  8. limit the output to 2 decimal places, google Set_Percision(2).
  9. string and numeric literals must be declared as constants in the appropriate modules or their private subcharts
  10. all local variables must be initialized with a default value
  11. perform calculations in the appropriate processing module and return necessary values through parameters
  12. perform output formatting in the appropriate processing module, and return string to be output as a parameter
  13. display the final formatted message in the appropriate output module

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!