哪里有错误啊?#includeusing namespace std;class Rectangle{public:{int width,height;}private:{ void r2(int w,int h)int area()};void Rectangle::r2(int w,int h){width=w;height=h;}Rectangle::area() {return width * height;}int main(){Rectangle r1r1.r

来源:学生作业帮助网 编辑:作业帮 时间:2024/07/29 19:13:21
xTNA~Iz7,wMp%ˢHRE AR|Brѻn6'3|7oG|8,nn Ec9U RM92QF F$VCQu`HMٖtc-%U 94Yr8"۷!=Py=$Ƨ924Yi*^1 ))iIHsknV]"!ƌg0;҅{1#xBD+&EᴜA5]u hVLD|ܿI9f |\1;9p߬n|,Ajw͇kz}H=Ȥ ϫj -|S64; CJNv'f$Ί?#