fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. float x=(float)3/2;
  6. float y=3/2;
  7. cout<<x<<endl;
  8. cout<<y;
  9. return 0;
  10. }
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
1.5
1