algorithm

dovelet - 기본 연산/op

블루건 2016. 7. 6. 21:11

dovelet - 기본 연산/op


문제


1
2
3
4
5
6
7
8
9
10
11
12
13
#include <iostream>
 
int main()
{
    int x, y;
    std::cin >> x >> y;
    std::cout << x << "+" << y << "=" << x + y << std::endl;
    std::cout << x << "-" << y << "=" << x - y << std::endl;
    std::cout << x << "*" << y << "=" << x * y << std::endl;
    std::cout << x << "/" << y << "=" << x / y << std::endl;
    std::cout << x << "%" << y << "=" << x % y << std::endl;
    return 0;
}
cs