dim inputdim aantalaantal = 0dim somsom = 0 do input = inputbox("voer getal in") som = som + input aantal = aantal + 1 wscript.echo somloop while input <> "0" dim gemiddeldegemiddelde = som / aantalwscript.echo gemiddelde