Computer Programming Notes 2.15.08

Computer Programming Notes 2.15.08 -...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Func findPayment(interestAmt, months, InterestRate) var min =0; var max = initialAmt; var guess= (min+max)/2; var paying=guess*months; var count; var balance = initialAmt-paying
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: while(!(balance<=0.01) && !(balance >=0)) { If (balance <0) Else if (balance >0.01) Count++; } Var count = 0; Count = count +1; Count ++;...
View Full Document

This note was uploaded on 03/31/2009 for the course COMP 110 taught by Professor Qi during the Spring '09 term at Linn Tech.

Ask a homework question - tutors are online