새소식

Algorithm/Acmicpc.net (백준)

[백준] : 10869번 (C언어)

  • -
#include <stdio.h>
int main()
{
    int a, b;
    scanf("%d %d", &a, &b);
    printf("%d\n", a+b);
    printf("%d\n", a-b);
    printf("%d\n", a*b);
    printf("%d\n", a/b);
    printf("%d", a%b);
    return 0;
}

'Algorithm > Acmicpc.net (백준)' 카테고리의 다른 글

[백준] : 10926번 (C언어)  (0) 2023.09.16
[백준] : 10869번 (python)  (0) 2023.09.16
[백준] : 1008번 (python)  (0) 2023.09.16
[백준] : 1008번 (C언어)  (0) 2023.09.16
[백준] : 10998번 (python)  (0) 2023.09.16
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.