prog.c:4:6: warning: return type of 'main' is not 'int' [-Wmain]
void main ()
^
prog.c: In function 'main':
prog.c:6:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant
double tempAdjAmount 0.00;
^
prog.c:6:24: warning: statement with no effect [-Wunused-value]
prog.c:7:25: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant
long tempActvAmtInit 0;
^
prog.c:7:25: warning: statement with no effect [-Wunused-value]
prog.c:9:3: error: 'tempAdjAmount' undeclared (first use in this function)
tempAdjAmount = (3895 * 900000 );
^
prog.c:9:3: note: each undeclared identifier is reported only once for each function it appears in
prog.c:9:25: warning: integer overflow in expression [-Woverflow]
tempAdjAmount = (3895 * 900000 );
^
prog.c:11:5: error: 'tempActvAmtInit' undeclared (first use in this function)
tempActvAmtInit = (int)(tempAdjAmount > (floor(tempAdjAmount)+0.5f)) ? ceil(tempAdjAmount) : floor(tempAdjAmount);
^