Closed minseo-jung closed 5 years ago
변형
#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
void p8_1_2()
{
int a, b;
int c = 0;
printf("두 숫자를 입력하세요 ex 4 5\n");
scanf("%d %d", &a, &b);
c = (a < b) ? b - a : a - b;
printf("%d\n", c);
return 0;
}