C++ - Array_For_LottoGenerator 1.1
CPP - Array_For_LottoGenerator #include #include #include using namespace std; #define LOTTO 45 typedef enum { FORTH = 3, THIRD, SECOND, FIRST }GRADE; static const char *grade[] = {NULL,NULL,NULL, "ForthGrade", "ThirdGrade", "SecondGrade", "FirstGrade" }; int main() { srand((unsigned int)time(0)); int iLotto[LOTTO] = {}; int iuInput, iaInput; int iuSort[6]={},iaSort[6] = {}; cout iuInput; iuInpu..
2019. 4. 5.