/* L4-5.cpp (Short Circuit Evaluation) What will be the output when you enter 5 for a and 8 for b? What will it be when you enter 8 for a and 5 for b? Find the mistake and correct it. */ #include using namespace std; int main() { int mid, fin,test; test=100; cout <<"Enter scores of midterm and final" << endl; cin >> mid >> fin; cout << "First test score = " << test << endl; if (mid < fin || mid < test--) cout << "midterm score is not the highest." << endl; cout << "First test score = " << test << endl; return 0; }