I don't think DWKS reads French very well, but just like me, he can recognize things like Fahrenheit and Celsius. I say this based on
I'm not familiar with that language, but your code doesn't look like it has anything to do with converting temperature to me
So, back to the original thoughts: If you had to calculate the average by hand, how would you do it?

How can you convert that to a program?

--
Mats