#include <stdio.h>
int main() {
int a;
scanf("%d", &a);
if(a>=5){
printf("A는 5이거나 5보다 큽니다.\n");
}else if(a>=3){
printf("A는 3이거나 3보다 큽니다.\n");
}else{
printf("A는 3보다 작습니다.\n");
}
int b;
scanf("%d", &b);
switch (b){
case 10:
printf("B는 10입니다.");
break;
case 9:
printf("B는 9입니다.");
break;
case 8:
printf("B는 8입니다.");
break;
default:
printf("B는 7보다 크거나 작습니다.");
}
}
To embed this project on your website, copy the following code and paste it into your website's HTML: