silver2row

iostream stuff, Bronson

Oct 5th, 2019
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.20 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.   double F, M, Ae;
  7.  
  8.   M = 4;
  9.   Ae = 32.2;
  10.  
  11.   F = M * Ae;
  12.   cout << "The object's weight is " << F << " pounds." << endl;
  13.  
  14.   return 0;
  15. }
Add Comment
Please, Sign In to add comment