Data structure layers:
There are many layers in this variable. For illustration,
For such cylinders, one desired computation may be the volume of each cylinder, that is defined as π * r2 * h, here r is the radius and h is the height. The printcylvols function prints the volume of cylinder, along with its code for the identification aims. It calls a subfunction to compute each volume.