Guest User

Untitled

a guest
Apr 21st, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. std::cout.unsetf(std::ios::floatfield);
  2.  
  3. std::cout.precision(2);
  4.  
  5. std::cout << "n33[36mFração33[37m : " << static_cast< float >(this->numerador) << " 33[31m-33[37m " << static_cast< float >(this->denominador) << "n";
Add Comment
Please, Sign In to add comment