prog.c: In function ‘main’:
prog.c:24:2: error: expected expression before ‘}’ token
}
^
prog.c:25:10: warning: implicit declaration of function ‘Tip’ [-Wimplicit-function-declaration]
tips = Tip(intValue);
^~~
prog.c: At top level:
prog.c:28:1: error: expected identifier or ‘(’ before ‘return’
return 0;
^~~~~~
prog.c:29:1: error: expected identifier or ‘(’ before ‘}’ token
}
^
prog.c: In function ‘tip’:
prog.c:31:8: warning: type of ‘intValue’ defaults to ‘int’ [-Wimplicit-int]
float tip(intValue)
^~~