Skip to content
Open

c #26

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions randomLunch.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#include <stdlib.h>
#include <time.h>
#include <stdio.h>

void main(void) {
char *places[19] = {
"by CHLOE",
"B & H Dairy",
"Taboonette",
"Tortaria",
"Mimi Cheng's",
"Taqueria Diana",
"Joe's Pizza",
"Hu Kitchen",
"Saigon Shack",
"Manousheh",
"San Marzano",
"Otafuku x Medetai",
"The Grey Dog",
"Mamoun's Falafel",
"Kiin Thai Eatery",
"Bluestone Lane",
"Peacefood Cafe",
"Tacombi Bleecker",
"Village Taverna"
};
srand(time(NULL));
puts(places[rand() % 19]);
}