*图片来源:济南大学自动化与电气学院孙斌老师的ppt
学号:202130310105
1.由main函数执行到构造函数Coordinate()中,显示输出:Coordinate construction1 called!
2.之后进入InputCoord(),显示输出Please Input x:(在键盘上输入x)
Please Input y:(在键盘上输入x)
3.输入坐标后进入ShowCoord(),显示输出:The coord is:(得到值与键盘输入有关)
4.之后进入ShowAvgCoord(),显示输出:The AVG coord is:(得到值与键盘输入有关)
5, 最后调用析构函数~Coordinate(),显示输出:Coordinate destruction called!