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