code/test.cpp

14 lines
261 B
C++
Raw Normal View History

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