본문내용
#include
#include
#include
int Menu();
void UserSelect(int *pUserSelect);
void ComputerSelect(int *pComputerSelect);
void SortData(int *pSortData);
void UserMoney(int *pMoney);
void Select(int *pUser,int *pComputer,int *pMony);
void main()
{
int User[6],Computer[6],Money[100],User_flog=0,Computer_flog=0,Money_flog=0;
printf("┌──┐\n");
printf("│로또│\n");
printf("└──┘\n");
printf("┌──────────────────────────┐\n");
printf("│룰:사용자 입력 번호와 컴퓨터 번호와 일치하면 됩니다.│\n");
printf("│ 1등 6개의 숫자 일치 : 배팅 금액에 100만배 │\n");
printf("│ 2등 5개의 숫자 일치 : 배팅 금액에 10만배 │\n");
printf("│ 3등 4개의 숫자 일치 : 배팅 금액에 1만배 │\n");
printf("│ 4등 3개의 숫자 일치 : 배팅 금액에 100배 │\n");
printf("│ 5등 2개의 숫자 일치 : 배팅 금액에 10배 │\n");
printf("│ 6등 1개의 숫자 일치 : 배팅 금액에 2배 │\n");
printf("└──────────────────────────┘\n");
printf(" 1. 로또번호 입력\n");
printf(" 2. 배팅\n");
printf(" 3. 로또번호 생성\n");
printf(" 4. 당첨확인\n");
printf(" 5. 종료\n");
#include
#include
int Menu();
void UserSelect(int *pUserSelect);
void ComputerSelect(int *pComputerSelect);
void SortData(int *pSortData);
void UserMoney(int *pMoney);
void Select(int *pUser,int *pComputer,int *pMony);
void main()
{
int User[6],Computer[6],Money[100],User_flog=0,Computer_flog=0,Money_flog=0;
printf("┌──┐\n");
printf("│로또│\n");
printf("└──┘\n");
printf("┌──────────────────────────┐\n");
printf("│룰:사용자 입력 번호와 컴퓨터 번호와 일치하면 됩니다.│\n");
printf("│ 1등 6개의 숫자 일치 : 배팅 금액에 100만배 │\n");
printf("│ 2등 5개의 숫자 일치 : 배팅 금액에 10만배 │\n");
printf("│ 3등 4개의 숫자 일치 : 배팅 금액에 1만배 │\n");
printf("│ 4등 3개의 숫자 일치 : 배팅 금액에 100배 │\n");
printf("│ 5등 2개의 숫자 일치 : 배팅 금액에 10배 │\n");
printf("│ 6등 1개의 숫자 일치 : 배팅 금액에 2배 │\n");
printf("└──────────────────────────┘\n");
printf(" 1. 로또번호 입력\n");
printf(" 2. 배팅\n");
printf(" 3. 로또번호 생성\n");
printf(" 4. 당첨확인\n");
printf(" 5. 종료\n");
소개글