/******************************************************************************
Online C Compiler.
Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
//
// main.c
// 루밍이
//
// Created by 이진숙 on 2018. 2. 14..
// Copyright © 2018년 이진숙. All rights reserved.
//
#include <stdio.h>
#include <stdlib.h>
int main(int argc, const char * argv[]) {
int num = 0;
int this;
puts("몇명인지 알려주쉴??");
scanf("%d", &num);
this = rand()%num;
this++;
printf("당첨자는 %d 데씅", this);
return 0;
}