bolen = 0
if (textbox1.text <> "") then bolen = bolen + 1
if (textbox2.text <> "") then bolen = bolen + 1
if (textbox3.text <> "") then bolen = bolen + 1
ortalama = (textbox1.text + textbox2.text + textbox3.text) / bolen