function vs procedure

function vs procedure