Functions vs Procedures

exercise showing the differences