#include #include using namespace std; void main() { double planetWeight, earthWeight; int planetNum; cout << "Enter your earth weight (LBS): "; cin >> earthWeight; cout << "Enter the planet number (0-8): "; cin >> planetNum; switch (planetNum) { case 1: planetWeight = earthWeight * .08; case 2: planetWeight = earthWeight * .89; case 3: planetWeight = earthWeight * 1.0; case 4: planetWeight = earthWeight * .38; case 5: planetWeight = earthWeight * 2.8; case 6: planetWeight = earthWeight * .98; case 7: planetWeight = earthWeight * 1.2; case 8: planetWeight = earthWeight * .78; default: planetWeight = earthWeight * 0.0; } cout << "Your weight on the planet is: " << planetWeight << endl; }