Lessons
C++ · Storing Information · 5. Other Types

step 1 of 7

Numbers with a dot

Not every number is whole. A double box holds decimals like 19.5 or 1.62.

Mission

Change the price to 12.75, then RUN.

PIP·1
main.cppyour code
1
2
3
4
5
6
7
8
9
10
← press me!
readyscreen

Press RUN to see what this program does.

Do the mission and Next turns green.

Other Types