prog.c: In function 'main':
prog.c:9:9: warning: format '%d' expects a matching 'int' argument [-Wformat=]
printf("Please enter in a positive int: %d");
^
prog.c: At top level:
prog.c:18:6: error: conflicting types for 'loop_down_to_zero'
void loop_down_to_zero(int i)
^
prog.c:3:5: note: previous declaration of 'loop_down_to_zero' was here
int loop_down_to_zero(int i);
^
prog.c:27:6: error: conflicting types for 'loop_up_to_int'
void loop_up_to_int(int i)
^
prog.c:4:5: note: previous declaration of 'loop_up_to_int' was here
int loop_up_to_int(int i);
^
prog.c: In function 'loop_up_to_int':
prog.c:29:2: error: 'j' undeclared (first use in this function)
j = 0
^
prog.c:29:2: note: each undeclared identifier is reported only once for each function it appears in
prog.c:30:2: error: expected ';' before 'while'
while(j <= i)
^