Quiz: else if
#include <iostream>
int main() {
int score = 85;
if (score > 50) {
std::cout << "Good" << std::endl;
} else if (score > 80) {
std::cout << "Excellent" << std::endl;
} else {
std::cout << "Try again" << std::endl;
}
}Start programming for free
7/12