-
Notifications
You must be signed in to change notification settings - Fork 0
/
midi.c
32 lines (29 loc) · 1.14 KB
/
midi.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* midi.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: djean <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/03/29 12:10:14 by djean #+# #+# */
/* Updated: 2016/03/31 20:00:19 by adubois ### ########.fr */
/* */
/* ************************************************************************** */
#include <stdlib.h>
#include <stdio.h>
int main(void)
{
char *on_mange[] = {
"Quick",
"Grec",
"FoodTruck",
"Pizza",
"Chinois",
"Carrefour",
"Panini",
};
int ca;
sranddev();
ca = rand() % (sizeof(on_mange) / sizeof(*on_mange));
printf("%s", on_mange[ca]);
}