Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Oct 17th, 2006, 10:28 PM   #1
anyer_ast!g
Newbie
 
Join Date: Oct 2006
Posts: 3
Rep Power: 0 anyer_ast!g is on a distinguished road
Smile How to compute grades using Coldfusion?

Hi,

Can someone help me how to compute grades using coldfusion, coz we are making now a project that able to compute the grades from first grading to fourth grading and then get the final average out of the four grading period.

Thanks....
anyer_ast!g is offline   Reply With Quote
Old Oct 17th, 2006, 11:01 PM   #2
ReggaetonKing
Sexy Programmer
 
ReggaetonKing's Avatar
 
Join Date: Nov 2005
Location: New Jersey
Posts: 891
Rep Power: 4 ReggaetonKing is on a distinguished road
Send a message via AIM to ReggaetonKing
Do you even know Coldfusion?
__________________
I would love to change the world, but they won't give me the source code!
ReggaetonKing is offline   Reply With Quote
Old Oct 17th, 2006, 11:07 PM   #3
anyer_ast!g
Newbie
 
Join Date: Oct 2006
Posts: 3
Rep Power: 0 anyer_ast!g is on a distinguished road
Honestly im a beginner in using Coldfusion but i know a little bit of it... Can you help me in my problem?
anyer_ast!g is offline   Reply With Quote
Old Oct 17th, 2006, 11:16 PM   #4
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,099
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
I fail to see what the problem is. What have you started? Where are you stuck? What don't you know how to do? What have you tried? What are the calculations that are necessary to be done? Is there something that you don't understand about the language?

I'm currently unable to grasp what you're asking for here ...
Sane is offline   Reply With Quote
Old Oct 18th, 2006, 2:40 AM   #5
anyer_ast!g
Newbie
 
Join Date: Oct 2006
Posts: 3
Rep Power: 0 anyer_ast!g is on a distinguished road
thanks for your reply....

well, we just started the interface of the site. My problem is how will i compute the grades.

For example:

one student got
85 for first grading
87 for 2nd grading
88 for 3rd grading &
89 for 4th grading

So, i want to add all that 4 grades to get the final average. How will i do that?

Is this clear?
anyer_ast!g is offline   Reply With Quote
Old Oct 18th, 2006, 7:59 AM   #6
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 2,099
Rep Power: 6 Sane will become famous soon enough
Send a message via MSN to Sane
It's pretty much as simple as you suggsted.

Given that...
grade1 = 85
grade2 = 87
grade3 = 88
grade4 = 89

Then...
average = (grade1+grade2+grade3+grade4)/4

...however that must be done in ColdFusion. I don't know the language, but it wouldn't be hard to find out. Just Google "Mathematical Operations in Coldfusion".
Sane is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help setting up this array programj Java 12 Apr 23rd, 2006 10:04 PM
Coldfusion using a com object tarawhelan Other Web Development Languages 9 Nov 15th, 2005 6:50 AM
Grades curving mahmoud C++ 5 Feb 28th, 2005 7:05 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 12:47 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC