functions vs procedures

functions vs procedures