FUNCTION Average(B,C)
 Average = (B + C) / 2
END FUNCTION