Activity 5

Workshop Resources

Next, use the variables and what you learned in the previous activities to print out the following to the console. You MUST use the variables!

Computer
5
ComputerComputer
10
ComputerComputerComputer
15

Hint: If you’re stuck, consider using the + operator. Remember that you can use the variables comp and five multiple times in the same line!