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

Exercise prompt

Add a Total

You have already added numbers and calculated from variables. Use both skills to build a small fruit counter.

Your task

Starting with the two supplied variables, produce exactly:

Fruit: 7

Create fruitTotal from the named values, then display it with the label.