Mati Lab. C++ Fractions