fork download
  1. #include <iostream>
  2. #include <cmath>
  3. #include <iomanip>
  4.  
  5. using namespace std;
  6.  
  7. int main()
  8. {
  9. int num1;
  10. double num2;
  11. double yourmom;
  12.  
  13. cin >> num1;
  14. cin >> num2;
  15. yourmom = num1 / float(num2);
  16. cout << yourmom;
  17.  
  18. return 0;
  19. }
  20.  
  21.  
Success #stdin #stdout 0.01s 5316KB
stdin
7
3
stdout
2.33333