#include <stdio.h>

int main() {
    int a ; 
    int b ; 
    printf("정수 두개를 입력하시오:") ; 
    scanf("%d ", &a) ; 
    scanf("%d ", &b) ; 
     if (a-b>=0) {
         printf("%d", a-b);
     }
    else {
        printf("%d", b-a) ; 
    }
    return 0;
}

Embed on website

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