조건문
1. if-else 90%
2. switch-case 10% -> ( 어떤 경우에 코드가 간단, 간결 )
#include <stdio.h>
int main()
{
int a;
scanf("%d",&a);
if (a>10 && a<50 || a>100)
{
printf("go to my home...");
if()
{
}
else
{
}
}
else if(a>5)
{
printf("한시간만 더하고가!!");
}
else if()
{
}
else
{
printf("you have to study!! here!!");
if()
{
}
else if()
{
}
}
return 0;
}