Programming Assignment #2b



  1. This assignment is comprised of modifying your program which will calculate a monthly amoritzed amount (e.g. a house mortgage). For this program, you are to add the logic to prompt the user if they wish to enter the data again, then loop if they enter a "y" value; otherwise perform the calcualtions and the error checking as in the previous program. The behavior and layout of this program should be as in the example below. Total points for this assignment will be 50 points. This assignment is due on or before Tue, Mar 5. All objects and techniques necessary for this assignment have been (or will be) covered in class. The program should look and function as follows:
  2. 
    Enter loan amount: 100000
    Enter rate: 6
    Enter number years: 30
    
    The monthly payment is: $599.55
    
    Would you like to calculate again (y/n): y 	// note color is for emphasis
    
    Enter loan amount: -100000
    Enter rate: 6
    Enter number years: 30
    
    You must enter positive numeric data!
    
    Would you like to calculate again (y/n): n    // note color is for emphasis
    
  3. The formula to use for this assignment should be as follows:

  4. You must set the names of all objects/variables included in your program to have meaningful names with correct naming conventions.
  5. You should refer to the programming guidelines and follow all guidelines presented there. Failure to adhere to any of the assignment specifications/programming guidelines will result in loss of points.
  6. Make sure to keep a copy of the source code that you turn in.
  7. Please feel free to ask questions/send e-mail if any items require clarification.

Hints & Updates: (updated Mon, Oct 5th)