ㅇㅇ

kimseunghoo · January 17, 2026
#include <stdio.h>

int  main() {
     int a,b;
     scanf("%d %d", &a , &b);
    printf("%d\n", a+b);
    printf("%d\n", a%b);

    int n;
    if (n < 0){
        printf("양수\n");
    
    }else if( n== 0){
        printf("0\n");
    }else{
        printf("음수\n");
    }
}






Output

Comments

Please sign up or log in to contribute to the discussion.