Game+Score+Example+(part+2)

STEP 1: Designing the screen layout
Start a new Real Basic file, and lay it out as shown below. Note the names of the 3 edit fields **ScoreStar**t, **ScoreMiddl**e and **ScoreEnd**.



STEP 2: Writing the code
Double click on the **Go** button, and copy the code listed below.

Run your program. If it doesn't work, go back and check you have copied the code exactly as it is listed above.

Now answer the questions below.


 * Questions**

1. What is the name of the variable used in this program.

2. What value does this variable have at the start of the program?

3. What value does this variable have at the end of the program?

4. The first line of code sets the variable type as an Integer. What is an integer?