Quote:
|
Originally Posted by EdBoy Doofus, you can't do C/C++ on the intarwebz.
To clarify, here's the (okay, to be fair, it's identical) PHP script. PHP Code: <?php
define (TOKEN_THRESHHOLD,1000000)
define (LOWEST_INTEREST_RATE,0.012);
define (LOW_INTEREST_RATE,0.02);
// All that other crap
if ($currTokens > TOKEN_THRESHHOLD)
{
$interestRate = LOWEST_INTEREST_RATE;
}
else
{
$interestRate = LOW_INTEREST_RATE;
}
$interest = $currTokens * $interestRate;
echo $interest . '% interest.';
?> |
You know PHP and I don't. That explains why you have more than one million tokens in your bank account, and I don't.
