prog.c: In function ‘main’:
prog.c:11:1: error: expected identifier or ‘(’ before ‘float’
float Results;
^~~~~
prog.c:26:1: error: ‘Results’ undeclared (first use in this function)
Results = Square(intValue);
^~~~~~~
prog.c:26:1: note: each undeclared identifier is reported only once for each function it appears in
prog.c:40:1: error: expected ‘}’ before ‘else’
else
^~~~
prog.c: At top level:
prog.c:47:5: error: conflicting types for ‘Square’
int Square(int value)
^~~~~~
prog.c:3:7: note: previous declaration of ‘Square’ was here
float Square(int);
^~~~~~
prog.c:52:5: error: conflicting types for ‘Cube’
int Cube(int value)
^~~~
prog.c:4:7: note: previous declaration of ‘Cube’ was here
float Cube(int);
^~~~
prog.c: In function ‘Cube’:
prog.c:53:1: error: expected declaration or statement at end of input
{
^
prog.c:53:1: warning: control reaches end of non-void function [-Wreturn-type]
{
^