-
-
Save codecademydev/b89b02bf0b2f22a2492e2b0c8313f64c to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
int main () { | |
int MainWorkout; | |
int MainLift; | |
std::cout << "********** NEW GYM PLAN ********** \n\n"; | |
std::cout << "Enter 1, 2, or 3 for the body part you want to workout today: \n\n"; | |
std::cout << "1) Chest \n"; | |
std::cout << "2) Back \n"; | |
std::cout << "3) Legs \n\n"; | |
std::cin >> MainWorkout; | |
while (MainWorkout != 1) { | |
std::cout << "Not a choice. Enter either 1, 2, or 3.\n"; | |
std::cin >> MainWorkout; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment