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