Guest User

Untitled

a guest
Jul 20th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1.  
  2. #include <stdafx.h>
  3. #include <iostream>
  4. #include <cstdlib>
  5. using namespace std;
  6.  
  7.  
  8. int main()
  9.  
  10. {
  11. double eweight,mweight;
  12.  
  13. for(eweight=1;eweight<=100;eweight++){
  14. mweight=eweight*.17;
  15. cout<<eweight<<" earth pounds is equivalent to "<<mweight<<" moon pounds\n ";}
  16.  
  17. return 0;
  18. }
Add Comment
Please, Sign In to add comment