Bomb Kirby Running
Cat Life - GT-K
1938번 아주 간단한 계산기

2023. 3. 17. 09:00SWEA

Problem Solving - Level 1 - 아주 간단한 계산기

https://swexpertacademy.com/main/code/problem/problemDetail.do?problemLevel=1&contestProbId=AV5PjsYKAMIDFAUq&categoryId=AV5PjsYKAMIDFAUq&categoryType=CODE

#include <iostream>
using namespace std;
int main()
{
    int A,B;
    cin>>A>>B;
     
    cout<<A+B<<endl;
    cout<<A-B<<endl;
    cout<<A*B<<endl;
    cout<<A/B<<endl;
     
    return 0;
}

'SWEA' 카테고리의 다른 글

2027번 대각선 출력하기  (0) 2023.03.17
2025번 N줄 덧셈  (0) 2023.03.17
1933번 간단한 N의 약수  (0) 2023.03.16
1936번 1대1 가위바위보  (0) 2023.03.16
2019번 더블더블  (0) 2023.03.16