Need help on last question in c programming assignment involving loops?

i need help on question 11 of this assignment
http://cps125.scs.ryerson.ca/labs/manual.html

heres my code

http://pasted.co/7cebcfaa
1 answer 1