0 of 8 problems solved • 0%
Use in a course

Exercise prompt

Repair a Counter

A counter should build on its current value. The starter has a bug that forgets the visitors already counted.

Your task

Ten visitors are already counted, and two more arrive. Repair the assignment using the current visitors value so the console displays Visitors: 12.