CS140quiz2

# CS140quiz2 - The Monthly payment on a loan may be...

This preview shows pages 1–2. Sign up to view the full content.

CS140 Quiz2 Due Date:    March 3 rd   11:00am. Grading     Pseudocode 20 points, Source Code 60 points, Output 20 points (Hints:   Pseudocode:  includes        3 Steps     Source Code:  includes        Course Number     ,        Name, Purpose     ) Submit:  1. Print out : Pseudocode , Source code, and Program output .  Each  part should be printed in a separate paper and staple all three parts  together for grading . (25% of Output) 2. Also, submit your  Source codes (.cpp file)only  through  email . (25%  of Output) Problem: Reference Chapter 3 Programming Challenges  17. (page 159)

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: The Monthly payment on a loan may be calculated by the following formula): Payment = Rate * (1+ Rate) N * L ((1 + Rate) N - 1) Rate is the monthly interest rate. (input 0.123 for 12.3 %) N is the number of payment L is the amount of the loan Please write a program that asks for these values and displays a report similar to following format. Loan Amount: \$ 10000.00 Monthly Interest Rate: 1.0% Number of Payments: 36 Monthly Payment: \$ 332.14...
View Full Document

## This note was uploaded on 08/28/2011 for the course CS 140 taught by Professor Staff during the Spring '11 term at Montgomery CC.

### Page1 / 2

CS140quiz2 - The Monthly payment on a loan may be...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online