| « What to do when your neighbours are inconsiderate fucks? | So, our population's too light for real broadband? » |
In CompSci today, the lecturer put up a question about how to write code to convert °C into °F - the formula is 9/5*C+32 where C is the temperature in °C - with the input being an integer (one without decimals) and the output being a real number (one with decimals)
Having written the code, she asked for a temperature to convert. I suggested -40°C, which was promptly entered. Then she ran it. I will leave the look on her face to your imagination, dear reader. Hint: fire up a calculator and you will see why she was worried that she'd done something wrong, as well as achieving a laugh from the class.
Yes, I'm definitely a bastard :-)