An logical error in C++

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Dec 2004
Posts: 2
Reputation: Singap0r2 is an unknown quantity at this point 
Solved Threads: 0
Singap0r2 Singap0r2 is offline Offline
Newbie Poster

An logical error in C++

 
0
  #1
Dec 19th, 2004
i am in the midst of studying for finals and i came across a program about the olympics. in this program we were given the id's of each judge and the scores to put in. once we have all the scores you are asked to average them. although my program works, for some reason it is adding up all the previous averages. i actually set the average to zero but that doesn't do me any good. i was wondering if anyone could maybe help me try to figure out what i did wrong.
thanks
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 2
Reputation: Singap0r2 is an unknown quantity at this point 
Solved Threads: 0
Singap0r2 Singap0r2 is offline Offline
Newbie Poster

Re: An logical error in C++

 
0
  #2
Dec 19th, 2004
thanks everyone i found the answer
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC