전형적인 if문 문제

#include <iostream>
using namespace std;
int main() {
int score;
cin >> score;
if (score <= 100 && score >= 90)cout << "A";
else if (score >= 80)cout << "B";
else if (score >= 70)cout << "C";
else if (score >= 60)cout << "D";
else cout << "F";
}