The output will depend on the limit of the loop. The initial value will be 2, then the other numbers will be 2x3=6. You will need to multiply the number before increment and after increment. The value to increment the number will also depend on the value of increment of the loop. ++1 means you increment before while i++ means you increment after.