|
Re: Teach Genia How to Program and Win a Prize
Here it is everyone! My first code! thank you to all who contributed.
Most especially darkjedi
Code:
passesLegendOfMaxOnHeavy(person) {
if (person==Genia) {
return true;
} else {
return false;
}
}
if(passesLegendOfMaxOnHeavy(Genia)) {
awesome=1;
} else {
triesAgain=1;
}
There you have it.
__________________
Northwestern University
McCormick School of Engineering 2010
Computer Science
Team 461 for life!
Last edited by Eugenia Gabrielov : 21-02-2005 at 19:21.
Reason: acknowledgement
|