#include <iostream>using std::cout; int main(){ double a = 9.0; cout << (1.0*a/a == 1.0) << " " << (1.0/a*a == 1.0) << std::endl;}
Standard input is empty
1 1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!