c_code/年龄问题.cpp

8 lines
121 B
C++

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