Variables used in this program (cont'd)
Display Figure 5.
Figure 5 shows four variables having the following names:
- coachesWords - Used to store the data to produce the words to the
left of the numeric values in Figures 1, 2, and 4.
- coachesWidth - Used to store the numeric width of the coach
object.
- widthAsString - Used to store the width value after it has been
converted from type Number to type String.
- extendedString - Used to store the string that results from
concatenating the contents of coachesWords and widthAsString.
This is the string value that is displayed on the screen as shown in Figures
1, 3, and 4.