#include <iostream> int main(){ float f = 3.01f; int i = f * 100; std::cout << i << '\n';}
Standard input is empty
301
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!