procedure vs function

procedure vs function