[1001] A-B
Content
Problem link : https://www.acmicpc.net/problem/1001
Problem
After receiving the two integers A and B, write a program that outputs A-B.
Input
A and B are given in the first line. (0 < A, B < 10)
Output
Output A-B on the first line.
Answer
#include<iostream>
using namespace std;
int main() {
int a, b=0;
cin >> a >> b;
cout << a - b << endl;
return 0;
}