While1 CPP - Repeat While, RackPaperScissors_Game CPP - Repeat While, RackPaperScissors_Game // Make a RockPaperScissorsGame using a Repeat while statement. #include #include using namespace std; #define MACROSTR(k) typedef enum SRP { SRP_S = 1, SRP_R, SRP_P, SRP_END }; static const char *srpStr[] = { "Scissors", "Rock", "Paper" }; int main() { int iSRP, aiSRP; SRP srp; srand((unsigned int)time(0)); cout 4) { cout 2019. 4. 3. 이전 1 다음