#include <stdio.h>

int main() {
    int n;
    scanf("%d", &n);

    // if(0<=n && n<10){
    //     printf("0이상 10미만");
    // } else if(10<=n && n<20){
    //     printf("10이상 20미만");
    // } else if(20<=n && n<30){
    //     printf("20이상 30미만");
    // }else{
      
    // }

    switch (n/10) {
        case 0: // 0-9 10 10-19 20 20-29 30
        printf("0이상 10미만");
        break;
        case 1:
        printf("10이상 20미만");
        break;
        case 2:
        printf("20이상 30미만");
        break;
        default:
        printf("30이상");
    }

    
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: