Notice
Recent Posts
Recent Comments
Link
«   2025/09   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
Tags
more
Archives
Today
Total
관리 메뉴

이것저것

C언어 swea 1936 본문

Language/C언어

C언어 swea 1936

olivia-com 2020. 11. 20. 09:58

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