Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdafx.h>
- #include <iostream>
- #include <cstdlib>
- using namespace std;
- int main()
- {
- double eweight,mweight;
- for(eweight=1;eweight<=100;eweight++){
- mweight=eweight*.17;
- cout<<eweight<<" earth pounds is equivalent to "<<mweight<<" moon pounds\n ";}
- return 0;
- }
Add Comment
Please, Sign In to add comment