Question 8 not sure what is wrong here


#1


#2

Loop returns 0 in the end, because i >= 0 allows it to do so. i > 0; will do the trick.