Exercise: Pedestrian Movement
Let's create an optional type 'car' variable which determines the value of a 'pedestrian' variable.
We'll cover the following...
We'll cover the following...
Problem Statement
In this exercise, we will try to recreate a pedestrian crossing at a traffic stop. You have to write the pedestrian() function which takes a car variable as its argument. The car variable will be of the ...