---------{Choi.h}----------- {{{~cpp class GCD{ private: int x,y; public: int big,small,remain; GCD(); ~GCD(); void replace(){ if (x>y) { big=x; small=y; } else { big=y; small=x; } } void mod(); void disp(); }; }}} --------{Choi.cpp}------------ {{{~cpp #include #include "Choi.h" GCD::GCD(){ cout<<"x="; cin>>x; cout<<"y="; cin>>y; } GCD::~GCD(){ } void GCD::mod(){ while (small!=0){ remain=big%small; big=small; small=remain; } } void GCD::disp(){ cout<<"x="<