You need to declare the function as such to define its return type.
In this example my function re...
Yeah as Texan40 said, remember that your function should return a value so it should be declared as...
help with strings
If its even, return -1 otherwise return the result.
[quote]the function returns the summation of the elements in the 2 diagonals of the array, otherwis...