#!/usr/bin/env ruby # _*_coding: utf-8 _*_ def average (x,y,z) sum = x+y+z return sum/3 end puts average(3,4,2)