Merge pull request '添加 年龄问题.cpp' (#1) from sairate-patch-1 into master

Reviewed-on: http://git.sairate.fun/zhouruize/c_code/pulls/1
This commit is contained in:
zhouruize 2024-07-17 13:04:35 +08:00
commit 6f9e97b91c
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;
}