First, you need to declare 'i' at the start of main, so
int main() {
int i;
next, in your for loop, there should be ';' instead of commas.
for(i = 5, i > 0, i--) ---> for(i = 5; i > 0;...
Type: Posts; User: Sp!k3
First, you need to declare 'i' at the start of main, so
int main() {
int i;
next, in your for loop, there should be ';' instead of commas.
for(i = 5, i > 0, i--) ---> for(i = 5; i > 0;...