I'm really sorry about all the threads I've been starting, but I can't find answers to them. I was pointed to this page - http://forums.macrumors.com/archive/index.php/t-521900.html where I find this selection - The following sample function, on the other hand, takes two integer arguments and returns the result of a multiplication of those numbers:
int multiply (int x, int y)
{
return x * y;
}
but I'm not sure how to implement it into my app because this is using UIKit. I can use UIKit, but I'm having trouble with it.
Here's my code.
if (mole.moleHp <= 0) {
int score;
float kills;
score = kills;
score = multiply (score, 10);
[moleToDelete addObject:mole];
}
Sorry again for this question, but please help me in finding the answer.