Algorithm/CodeUp
1154 : 큰수 - 작은수
B2SIC
2019. 4. 21. 20:22
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | #include <stdio.h> int main() { int a, b; scanf("%d %d", &a, &b); if (a > b) printf("%d", a - b); else printf("%d", b - a); return 0; } | cs |