//Answer to Problem #2, Prof. Barimani's Programming I class Spring 2011 #include using namespace std; int main() { float Test1, Test2, Test3; cout<<"Please enter scores for Test1..Test3 based on 50, 50, 100?\n"; cin>>Test1>>Test2>>Test3; float Proj1, Proj2; cout<<"Please enter scores for Proj1..Proj2 based on 25, 25? "; cin>>Proj1>>Proj2; float Avg; Avg= (Test1 + Test2 + Test3 ) / 200.0 * 75.0 + (Proj1 + Proj2) / 50.0 * 25.0; cout<<"You did "; if (Avg < 60.0f) cout<<"poor.\n"; else if (Avg < 80.0f) cout<<"fair.\n"; else cout<<"good.\n"; cout<<"Your average= "<