添加 年龄问题.cpp

This commit is contained in:
sairate 2024-07-17 13:00:31 +08:00
parent 3d5832b39f
commit 725f5d79d6
1 changed files with 8 additions and 0 deletions

8
年龄问题.cpp Normal file
View File

@ -0,0 +1,8 @@
#include<iostream>
using namespace std;
int main(){
int a,b,c;
cin>>a>>b>>c;
cout<<a-b<<" "<<a+c;
return 0;
}