Frage im Vorstellungsgespräch bei National Instruments

Write code to get the average value from a tree.