#10 Function/Do/While: I have no idea what I'm doing


#1

I'm am completely stumped!! Throwing the function in there completely thru me off. Can someone explain to me how this works. I got everything up till this point. I've tried going back to previous lessons. Please help!! Please check....


#2

you start a { after while that never gets closes (ok it's closed by }; but then again you're function isn't closed). Just replace it with a semicolon and you should be fine.


#3

Thank you! I could kick myself in the ■■■ for that small mistake!!!!