但凡需要到的变量都需要定义啊,前面的定义a,b,c可以这样int a;int b;int c;也可以这样,int a,b,c;同理,double height,area;也是一样。只是他们定义的数据类型不一样