I'm new to C ++ and Need help on this problem:
Design an algorithm ot find the weighted average of four test scores.
the four test scores and their respective weights are given in following format:
Testscore1 Weight1
...
For example, a sample data is as follows:
75 0.20
95 0.35
85 0.15
65 0.30
Forgot to mention it has to be done in Pseudocode.
C++ Problem help?
Check out http://www.pscode.com for great examples.
Reply:Yeah, you need to do your own work. I think you want to write a loop, right? And update a variable on each pass through the body of the loop? Break the problem down into pieces, and you'll get there eventually.
Reply:Why don't you do your own homework?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment