이것저것
C언어 swea 1936 본문
https://swexpertacademy.com/main/identity/anonymous/loginPage.do
SW Expert Academy
SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요!
swexpertacademy.com
#include <stdio.h>
int main(void){
int A,B;
scanf("%d %d", &A, &B);
if((B == A + 2) || (B == A - 1)){
printf("A");
}
if((B == A + 1) || (B == A - 2)){
printf("B");
}
return 0;s
}
'Language > C언어' 카테고리의 다른 글
C언어 swea 2027 N줄 덧셈 (0) | 2020.11.20 |
---|---|
C언어 swea 2043 (0) | 2020.11.20 |
C언어 swea 2029 (0) | 2020.11.20 |
C언어 swea 1938 (0) | 2020.11.20 |
C언어 swea 1970 쉬운 거스름돈 (0) | 2020.11.19 |