In the previous page, the numbers drawn randomly were between 1 and 10. Here, the numbers are between -10 and 10, both -10 and 10 included. Note how negative and postive numbers are displayed using the routine printNum(n,showone). It can either display 1 or not display it depending on the parameter showone. Also, it displays $+3$ instead of 3. Negative numbers are displayed just fine. Here is the code for printNum(n,showone).