THE TRUTH! High school... A CS class in East Texas. You can imagine how that went. My God, the memories.
People too stupid to edit my name out of the comments and the teacher wanted to know why I turned in multiple copies.
Hell. I turned in the whole semesters assignments in the 2nd week of class. I also stayed to help tutor other kids. The friggen teacher every week kept telling me I was failing saying I musta brought it in from home, or had my brother do it for me. He was rejecting my turn in, and I had to redo it. I just kept turning in the same things.
I said "If you don't believe I know what I'm doing, give me a problem right now and I will prove it."
He gave me: "enter a number, convert to a roman numeral. Make it work up to 54."
His code was (going to simplify these answers):
Code:
if (input == '1') cout << 'I';
if (input == '2') cout << 'II';
if (input == '3') cout << 'III';
All the way up to 54.
I had:
Code:
while(input > 0)
{
if(input >= 1000)
{
cout << 'M';
input -= 1000;
}
if(input >= 100)
{
cout << 'C';
input -= 100;
}
if(input >= 10)
{
cout << 'V';
input -= 10;
}
if(input >= 5)
{
cout << 'X';
input -= 5;
}
if(input >= 1)
{
cout << 'I';
input -= 1;
}
}
(I had all the right expressions in there for 9's, 4's etc, and the correct symbols, etc.)
He had this strange look on his face, like he had no idea what I just did. He failed me and told me not to come back to class.
I went and bitched to the councilor. She told me some people are not cut out for computer programming and suggested I find another interest, and told me to take a test on a computer which tries to analyze my personality and give suggestions on what my career should be and where my interests should lie. So I did, and she told me I should focus on being a garbage man and the skills for it. So I dropped out of high school, got a job (this was during the dot com craze and everybody was hiring), and by the time I would have finished high school, I was making more than both of them (probably combined)... Garbage man indeed!
When I was legally able to (it's age 19 in my state - They don't allow anybody to take it earlier to prevent people from dropping out and taking their GED early to bypass school) I went back and received my GED and went to college. Paid for by my current employer, the one who hired me after I left school.
(I'm now 37 and have 20 years of professional experience)