diff options
Diffstat (limited to 'dinner.c')
-rw-r--r-- | dinner.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/dinner.c b/dinner.c new file mode 100644 index 0000000..d755ba3 --- /dev/null +++ b/dinner.c @@ -0,0 +1,18 @@ +#include <stdio.h> +#include <unistd.h> + +int main(int argc, char **argv) { + sleep(1); + printf("Start:\a\n"); + for (int i = 0; i < 45; i += 5) { + sleep(300); + printf("Check water levels.\a\n"); + if (i == 24) { + printf("Add stuff from plate.\n"); + } + } + + printf("All done.\a\n"); + + return 0; +} |