Thread: math riddle
View Single Post
Old 07-17-2008, 10:08 AM   #13
faulkner132
Come in Ray...
 
faulkner132's Avatar
 
Join Date: Sep 2004
Posts: 1,668
Quote:
Originally Posted by alpaca9000 View Post
How do you run that code? If u can use notepad then what file extention?
It's pseudo-code, so it can't be run as is. You would need to translate it to your language of choice.

I just posted it because others were asking how to calculate the value. The algorithm I posted is just to show an example of how the code would look if you were to write a program.
faulkner132 is offline   Reply With Quote