#include <stdio.h>
int main() {
//실습5//
/* int n;
scanf("%d",&n);
if(n>=90)
printf("A");
if(n<90 && n>=80)
printf("B");
if(n<80 && n>=70)
printf("C");
if(n<70)
printf("F"); */
//실습6//
int n;
scanf("%d",&n);
if(n>=90)
printf("A");
else if(n>=80)
printf("B");
else if(n>=70)
printf("C");
else
printf("F");
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: