{{{ // 숫자 야구 게임입니다. #include #include #include using namespace std; int main() { unsigned int number1,number2,number3; srand(time(0)); unsigned int a,b,c; do { a = rand()%9+1; b = rand()%9+1; c = rand()%9+1; } while ( a==b || b==c ||a==c); cout<