2024-10-03 07:21:56 +08:00
|
|
|
#include<iostream>
|
|
|
|
|
|
|
|
using namespace std;
|
|
|
|
|
|
|
|
int main(){
|
2024-10-03 10:01:27 +08:00
|
|
|
int gc=11,f=25,gp=25;
|
|
|
|
f+=gc;
|
|
|
|
gp+=f;
|
2024-10-03 09:09:23 +08:00
|
|
|
cout <<"格小C岁数:"<<gc<<endl;
|
|
|
|
cout <<"格小C爸爸岁数:"<<f<<endl;
|
|
|
|
cout <<"格小C爷爷岁数:"<<gp<<endl;
|
2024-10-03 07:21:56 +08:00
|
|
|
return 0;
|
|
|
|
}
|