로딩
요청 처리 중입니다...

#26 열혈 C 프로그래밍 <도전! 프로그래밍3> 도전5번 코드와 해설

 #26 열혈 C 프로그래밍 <도전! 프로그래밍3> 도전5번 코드와 해설

코드 먼저. #include #include #include void NameNum(int choice, int random, char ** Name_user, char ** Name_computer) { char * str3 = "보", * str2 ="가위", * str1 = "바위", * str = "잘못입력하셨습니다"; if(choice==1) (*Name_user)=str1; else if(choice==2) (*Name_user)=str2; else if(choice==3) (*Name_user)=str3; else (*Name_user)=str; if(random==1) (*Name_computer)=str1; else if(random==2) (*Name_computer)=str2; else if(random==3) (*Name_computer)=str3; else (*Name_computer)=str; } int mai...