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