Functions

Started by
20 comments, last by Maul 21 years, 8 months ago
quote:Original post by GameDev135
Here is how I would suggest doing your program

It would help if your example did not contain two errors which have already been corrected during this thread.
Advertisement
yes, that was dumb of me....oh well.

So change the true function name to greaterThanHundred.
And then have it go


    bool greaterThanHundred(int number) {      if (number > 100)           return true;      else          return false;}    


I tried......sorry.

Feel free to email me at NYYanks432@hotmail.com if you have any questions

[edited by - gamedev135 on August 1, 2002 10:37:42 AM]
Feel free to email me at NYYanks432@hotmail.com if you have any questions

This topic is closed to new replies.

Advertisement