
-----------------------------------
krishon
Mon Jun 16, 2003 10:54 am

[source code] bank loan calculator
-----------------------------------
here's a little something i found.  its from "The Complete Idiot's Guide to Javascript."  If u've learned the basics of javascript, u can use this example to see how u can apply all those things about functions etc.  remember this is a webpage, so if u wanna test it, copy the code into a notepad file and save as a ".html" file, then enjoy. Here's the code:





Loan Calculator








Loan Calculator






Fill in the fields, then click






  Amount of the loan ($) 
  


  Annual Interest rate (%) 
  


  Total Number of Years
  










tell me if this dusn't work, i'll check over the code later.

P.s. is it just me or does the syntax of C++ and Javascript look very similar?

-----------------------------------
Asok
Mon Jun 16, 2003 1:34 pm


-----------------------------------
this is JavaScript not Java, it goes in the HTML section.

moved.

-----------------------------------
krishon
Mon Jun 16, 2003 4:07 pm


-----------------------------------
ye...i wuzn't sure bout where to put it, but now i know so its all good
