THAT IS MY FIRST PROGRAM Its been so long since my last time


THAT IS MY FIRST PROGRAM

It\'s been so long since my last time writing a program....


can anyone give me a hint about how to approach it?


I declared an array which can hold 15 values,

but now I\'m trying to create another function which will do that math.

but I totally forget how to call a function...and how to return to the function if the statement is not true..

Solution

just use the function name and the name of the variables you are sending in as its parameters

here you go:

http://ideone.com/6OuydW


and remember to rate


Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site