User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 397,646 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,383 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

I don't know how to start

Join Date: Dec 2004
Posts: 3
Reputation: Jounan is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Jounan Jounan is offline Offline
Newbie Poster

I don't know how to start

  #1  
Dec 16th, 2004
Hi everybody,

I am new to JavaScript and need help to start, please help to Write the script to calculate grades. Up to 10 scores can be entered. The raw scores are curved and grades are assigned. Click the "Load" button to work with the example scores. If the average is below 75, make it 75.

Assume the following 10 scores: 40, 46, 48, 56, 62, 64, 66, 70, 76, and 78. Enter the scores and press button Load. The average will be given as 60.5 ~61 so we have to add 14 (75-61) to every score. This is done by pressing button Curve.


Assume that the grades are assigned as follows: 90-100 = A, 80-89 = B, 70-79 = C, 60-69 = D, below 60 = F. The grade will be displayed by pressing button Grades.


Your help is much much appreciated.

Regards :cry:
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 11:12 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC