fork download
  1. #include <iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. float a, b, c, d;
  6. cin >> a >> b >> c >> d;
  7. cout << "Difference = " << (a * b) - (c * d);
  8. return 0;
  9. }
Success #stdin #stdout 0s 5288KB
stdin
Standard input is empty
stdout
Difference = 3.98314e-31