Creating the code
(Display Figure 8.)
Create the variable named limit of type Number shown in Figure 8.
(Display Listing 1.)
Write all of the code from Listing 1 except for the for loop.