Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- std::cout.unsetf(std::ios::floatfield);
- std::cout.precision(2);
- std::cout << "n 33[36mFração 33[37m : " << static_cast< float >(this->numerador) << " 33[31m- 33[37m " << static_cast< float >(this->denominador) << "n";
Add Comment
Please, Sign In to add comment