AJAX Forums

Need JavaScript help URGENTLY!!!?

This is a discussion on Need JavaScript help URGENTLY!!!? within the JavaScript forums, part of the Beginners AJAX category; ok, so this is the problem. I hav 2 write a program, but theres several questions or steps tha go wiv it tha I hav 2 work thru 1 by ...


Go Back   AJAX Forums > Beginners AJAX > JavaScript

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
Old 06-22-2007, 10:48 AM   #1 (permalink)
 
Join Date: Jun 2007
Posts: 0
Rep Power: 0 pinksluvva1 is on a distinguished road
Need JavaScript help URGENTLY!!!?

ok, so this is the problem. I hav 2 write a program, but theres several questions or steps tha go wiv it tha I hav 2 work thru 1 by 1. So wot I need is sum1 whos good wiv JavaScript programming & can work thru the steps wiv me.Can any1 help?We can do it online, in yahoo.please please PLEASE will sum1 help me?Hopefully,Pinksluvva1This help is 4 an assignment. Im not asking 4 any1 2 do the assignment 4 me, jus sum1 who wud b so kind as 2 giv up a lil of their time 2 help me complete it. I do own a JavaScript help book, but I cant seem 2 find the answers I require. Programming has neva bin my strong point, but I need 2 complete this assignment 2 b allowed 2 continue on the course. Please will sum1 help me out?var interestRate = 0;var response;var amountIn, interest;function twoDPs(anyNumber){ return Math.round (100 * anyNumber) / 100}; function setInterestRate() {interestRate = window.prompt('Please enter the current interest rate value', '');};function displayInterestRate(){document.write('Current interest rate is ' + interestRate + '%')};function calculateInterest(numberOfPounds) {setInterestRate();displayInterestRate();document. write('<BR><BR><BR><BR>'); // The following code may be changed for part (ii)(a)response = window.prompt('Do you want to calculate the interest on an amount of money (Y/N)? ','');while(response == 'Y'){amountInPounds = window.prompt('Enter amount in Pounds ','');interest = calculateInterest(amountInPounds);document.write(' £ '+ amountInPounds + ' attracts £' + interest + ' interest');document.write('£ '+ amountInPounds + ' attracts £' + interest + ' interest');document.write('<BR><BR><BR>'); response = window.prompt('Do you want to calculate the interest for another amount (Y/N)? ','')}Thas wot Ive dun so far, but theres more 2 do.The 1st thing I need 2 do here isset the interest rate and display the interest rate. Apparently code is needed 2 b added 2 the 'setInterestRate' function 2 do this!!!
__________________
pinksluvva1 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes



All times are GMT -4. The time now is 10:19 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5
Copyright ©2006 - 2008, AJAXwith.com