Analysis Phase for Project #3.doc NOTE: Execute Project#3 Test Case #6 (see project #3) requirements for the six test cases Numbers below to be input from the user via the keyboard Value: 85 88 93 87 96 Weights: 10 10 20 30 30 Calculation below Input Running totals counter Value Weights Sumw Sum1 Count
Analysis Phase for Project #3.doc NOTE: Execute Project#3
Test Case #6 (see project #3) requirements for the six test cases
Numbers below to be input from the user via the keyboard
Value: 85 88 93 87 96
Weights: 10 10 20 30 30
Calculation below
Input Running totals counter
Value Weights Sumw Sum1 Count
85 10 0 0 0
88 10 10 850 1
93 20 40 1,730 2
87 30 70 3,590 3
90 30 100 6,200 4
9,080 5
Test Data for TEST CASE #6 The logic belows follows the pseudocode
85 10 88 10 93 20 87 30 96 30
10 10 10 10 20 20 30 30 30 30
+0 *85 +10 *88 +20 *93 +40 *87 +40 *96
10 850 20 880 40 1860 70 2,610 100 2880
+1,730 +1730 +3,590 +6200
3,590 6,200 9,080

Step by step
Solved in 2 steps









