/* Errors Problem #2, Prof. Barimani's Programming I class Fall 2009 Fix all the errors: Purpose: To calculate the weighted average. Assumptions: Test1 50 points, Test2 50 points, Test3 100 points Proj1 25 points, Proj2 25 points Test points weight 75% Project points Weight 25% (Test1 + Test2 + Test3 ) Proj1 + Proj2 Weighted Average= ----------------------------------------------------- * 75 + ------------------------------------- * 25 50+ 50+100 25 + 25 Messages: Below 60: poor Between 60 and 80 (including 60): fair Greater or equal than 80: good */ #include using namespace std; int main() { Test1, Test2, and 3 are float cout<<"Please enter scores for Test1..Test3 based on 50, 50, 100? "; cin<>Test; float Proj1, Proj2; cout<<"Please enter scores for Proj1..Proj2 based on 25, 25? "; cin>>"Proj1, Proj2"; float Avg Avg= Test1 + Test2 + Test3 / * % + Proj1 + Proj2 / * %; cout<<"You did"; if (Avg < 60); cout<