Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java applet program (together with its html test file) to calculate loan payments.

 
mike saggese
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, I need help with a new assignment. I have to write a Java applet program (together with its html test file) to calculate loan payments. The user will provide the interest rate, the number of years, and loan amount

this is what I have so far



if anyone can help me that would be great. thank you
 
Steve Luke
Bartender
Posts: 4181
22
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mike saggese wrote:hi, I need help with a new assignment. I have to write a Java applet program (together with its html test file) to calculate loan payments. The user will provide the interest rate, the number of years, and loan amount

this is what I have so far

if anyone can help me that would be great. thank you


Do you have a question?
 
mike saggese
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Steve Luke wrote:
mike saggese wrote:hi, I need help with a new assignment. I have to write a Java applet program (together with its html test file) to calculate loan payments. The user will provide the interest rate, the number of years, and loan amount

this is what I have so far

if anyone can help me that would be great. thank you


Do you have a question?


yes actually. I was trying to write a java loan calculator applet and I'm having some trouble. here's my code


tried
At line 72 the error is that it cannot find symbol. its where the Loan loan = new Loan(interest, year, loanAmount); is. I've tried adding public class loan and that didn't work. I've tried the no class found def exception and that didn't work either. I also know that Nothing in the above code indicates that I actually have a Loan class. Is this a different package and I'm just missing an import. Any help would be great. thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic