fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. // your code goes here
  6. int x=12,y=5;
  7. auto z = ((double)x)/y;
  8. cout<<z;
  9. return 0;
  10. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
2.4