From b418b31ddcf3e47cd60cc6833372a79b1828fd0f Mon Sep 17 00:00:00 2001 From: "DESKTOP-28DSKQA\\bvs23" Date: Sat, 31 Mar 2018 17:53:41 +0300 Subject: [PATCH] c --- randomLunch.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 randomLunch.c diff --git a/randomLunch.c b/randomLunch.c new file mode 100644 index 0000000..da9bf1c --- /dev/null +++ b/randomLunch.c @@ -0,0 +1,29 @@ +#include +#include +#include + +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]); +}