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.';
?>
__________________
That so describes me perfectly.
Pfff, jme is so old meme. In FB, every repost is repost repost.
|