/*
 * Oldton's Law
 *
 * int is too small to hold the product
 * of m1 and m2, which is why (m1*m2) will
 * give an incorrect value.
 * To accomodate for the large product,
 * use long int as below.
 * Alternatively, you can use k to decrease 
 * the size of the product i.e., (k*m1*m2)
 */

#include <iostream>;
using namespace std;

int main() { 

  double force;
  double k = 0.667;
  long int m1 = 59700;
  long int m2 = 198892;
  int d = 100;

  force = k*(m1*m2)/(d*d);

  cout << "force: " << force << endl;

  return 0;
}
