fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6. float n;
  7. float d;
  8.  
  9. cout << "Enter numerator: ";
  10. cin >> n;
  11. cout << "Enter denominator: ";
  12. cin >> d;
  13.  
  14. printf("\ni division = %.f\n", n / d);
  15.  
  16. return 0;
  17. };
Success #stdin #stdout 0.01s 2860KB
stdin
3400000000000
10000
stdout
Enter numerator: Enter denominator: 
i division = 340000008