Win a copy of OCP Java SE 8 Programmer II Exam Study Guide this week in the OCP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Loan Calculator program  RSS feed

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Can someone help me with it? I accidentally reformat my flashdisk and forgot that the running program was saved there and now I have to work on it again. I'm having trouble with line 21 it says Calc.java:21: cannot find symbolsymbol: class string and it points on letter "S" thank you for the help
 
Greenhorn
Posts: 21
Eclipse IDE Java Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The string[] on line 21 should be a capital "S", so String[] rateTerm = {"7 years","15years","30 years"};
 
Rancher
Posts: 1832
15
Android Eclipse IDE Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For value comparison you should not do the following



it should be


 
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
is this an example for college? or are you actually hopeing to get to get real answers out, as you are using a daily rate 0.05 as an annual rate.

 
Ariana Abrenica
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Wendy Gibbons wrote:is this an example for college? or are you actually hopeing to get to get real answers out, as you are using a daily rate 0.05 as an annual rate.



that's an example for college
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!