// Lab 5 warm-up // write a series of IF statements // to grade this quiz. // Answer Key: // 1. b // 2. a // 3. c or d // // Then print out the correct grading // message to the console. // There are multiple solutions to this problem. // How many IF/ELSE statements can you write it in // 5? 3? 2? 1? (all are possible) #include using namespace std; int main() { char answer_1, answer_2, answer_3; // question 1 cout << "What is your Quest?" << endl << "a. Get an A" << endl << "b. Seek the Holy Grail" << endl << "c. World domination" << endl << "d. Mad bowstaff skillz" << endl; cin >> answer_1; // question 2 cout << "What is your favorite color?" << endl << "a. Red" << endl << "b. Yellow" << endl << "c. Green" << endl << "d. Blue" << endl; cin >> answer_2; // question 3 cout << "What is the average airspeed" << "velocity of an unladen swallow?" << endl << endl << "a. 15 mph" << endl << "b. 20 mph" << endl << "c. 25 mph" << endl << "d. depends on the species" << endl; cin >> answer_3; // grade the answers here // if the student got a perfect score print this cout << "You may pass!" << endl; // otherwise print this cout << "You shall not pass!" << endl; return 0; }