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