"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by mysong:
My instructor informed me that my java code was good, but the first 2 of 3 loans the numbers are not correct. my loans do not have a zero balance after the last payment...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by Mike Songstin:
should I not use the decimal format in the calculations?
only use it for the printout that will be the final item seen to the user? ...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
I suspect that the compiler "thinks" you�re working with Integers because the value you`re passing actually appear more suitable to integers at first, try checking the datatypes behaviour in a debbuger or isolate the operations and check the output by sending it to the system console. try sending the result of this to sys.out.double amount,moPay,totalInt,principal = 200000;
Originally posted by Mike Songstin:
Please note that I am not a math person...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by Mike Songstin:
edit this area where the "amount " line is .....near the bottom of the code? ...
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
Originally posted by Mike Songstin:
...i see what you mean ...but I am confused on do I edit only one line of code ..or many
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
What are you doing in my house? Get 'em tiny ad!
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
|