June 2017
Beginner
330 pages
7h 30m
English
Imagine that you're building a self-driving car. Your car would have sensors providing information such as GPS coordinates, the location and speed of the vehicles around the car, and the list goes on and on.
All of this data is great; however, how can we use it to make sure our car functions properly? Our program could follow a set of rules: the following are a few basic ones:
Do you notice how each of these requirements evaluates a parameter and changes the behavior of the car based on its value? This is how conditionals work.
At a ...
Read now
Unlock full access