Taking a Vacation Lab #2

Taking a Vacation

The objective of the lab was to learn about functions and the different parts that form a function. That includes statements, parameters, arguments, return value etc.

The second part of the lab was to find the cost of a trip to a certain city including other costs such as hotel, rental car, plane, and other spending.

The codes were a challenge to put together. I would get several errors until I got correct one. As mentioned definitely challenging, but entertaining because it had me thinking a lot trying to find the errors. Not all of the exercises were as hard though, since they always show part by part, the first few parts are easy and short. As it progresses to where we have to put all the parts into a single exercise, that’s when it got confusing. It is hard to get at first glance, but we have to read carefully to understand it. Overall an exhausting yet entertaining experience.

Comments are closed.