This function create new fraction and use integer number.
fraction a(5); std::cout << a;
Output:
5/1