I figured it out.
Thanks for the feedback
Is it possible to define '10' in the for loop initialization as a variable where the user is prompted to input the value of i?
int i;
for (i = 10; i > 0; --i)
example:
for (i= x > 0; --1)
where x is defined as an input parameter using the scanf function?
I searched online and couldn't find any examples.