Computer Science, asked by uttammaharaja1otnmr4, 1 year ago

find the torque in c++ programming

Answers

Answered by uttamtooldie27p3k9w2
1
#include <iostream.h>main(){ int t, m1, m2, g; cout << " \n\t Enter the value of m1=> "; cin >> m1; cout << " \n\t Enter the value of m2=> "; cin >> m2; cout << "\n\t Enter the value of g => "; cin >> g; t = ((2 * m1 * m2) / ( m1 + m2)) * g; cout << " Torque is => " << t; return 0;}
Similar questions