Skip to content

Commit d8c0f38

Browse files
committed
Added an awesome intro
1 parent bda4ccd commit d8c0f38

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

cpp/liquid/liquid

19.1 KB
Binary file not shown.

cpp/liquid/liquid.c

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#include "shunting-yard.h"
22
#include <stdio.h>
33
#include <string.h>
4-
4+
#include <stdlib.h>
55
/*
66
* DONT EDIT THIS FILE!
77
* See the wiki, for a list of keywords that are understood by Liquid.
@@ -21,10 +21,11 @@ int main(int agrc, char *argv[]){
2121
double result;
2222
char input[100], stripped[100];
2323
int i,j;
24-
24+
//Introduction
25+
system("cowsay 'Welcome to the awesome calculator. Moo!'");
2526
printf("Liquid is a smooth CLI math expression evaluator.\nEnter expressions, you need to match all parens.\n\nSee the wiki to know the keywords understood by Liquid\nTo quit just type 'Q'\n");
2627
while(1)
27-
{
28+
{
2829
printf("<< ");
2930
gets(input);
3031
if(strcmp(input,"Q")==0)
@@ -34,4 +35,4 @@ int main(int agrc, char *argv[]){
3435
printf(">> %f\n", result);
3536
}
3637
return 0;
37-
}
38+
}

participants.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Sachin Kamath \m/

0 commit comments

Comments
 (0)