最后一句有问题,请修改为
fprintf('My name is %s.\n I am %d years old.\n My home town is:%s . \nIt is %d miles from Texas Tech University.\n',name, age,hometown, distance);
我的测试结果:
最后一句有问题,请修改为
fprintf('My name is %s.\n I am %d years old.\n My home town is:%s . \nIt is %d miles from Texas Tech University.\n',name, age,hometown, distance);
我的测试结果: