#include<iostream.h> class person { int age; void main() char name; float hige; public: person(){int age=11;char name="asd";float high=1.85;} person(int x,char y, float f) {x=age; y=name; f=high; } }; void show(); { cout <<name<<age<<hige<<endl; { person n1,n2,n3(); n1.show() }
|