To calculate the volume of a shipping container, the program prompts the user to input the height, width and length of the container. It then uses C++ code to calculate the volume by multiplying those three dimensions together. The result is displayed back to the user, completing the first programming assignment to find a volume.