Lotto Program Created by C
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
void select(float *a);
void lottorand(int *a);
int check(float *a, int *b);
int main()
{
int i;
float mylotto[6];
int lotto[6];
printf("로또번호선택n");
select(mylotto);
lottorand(lotto);
printf("n내가 선택한 숫자 : ");
for(i=0;i<6;i++)
{
printf("%d ", (int)mylotto[i]);
}
printf("nn로또당첨번호 : ");
for(i=0;i<6;i++)
{
printf("%d ...