Question: need help on computer science. to write c++ program(visual studio) and output screenshot please!!! Code given Your task is to adapt the threefile example (DArea.h,
need help on computer science. to write c++ program(visual studio) and output screenshot please!!!



Code given



Your task is to adapt the threefile example (DArea.h, DArea.cpp, TestArea.cpp) of Lecture 09 to a three file solution (DWallVol.h, DWallVol.cpp, Prog07.cpp) which computes the volume of the structural wall of a hollow, cylindrically shaped container or tank (inner and outer boundaries are the surfaces of collinear cylinders). The data input to your program should be as follows (a) The height (h) of the outer cylinder, in centimeters. (b) The diameter (d) of the outer cylinder in centimeters. In terms of the radius (r), the diameter is twice the radius. (c) The thickness (t) of the container wall (assumed to be uniform), in centimeters You should note that the vol of a cylinder is the product of the height and the lume cross sectional area of the circular end vcylinder The structural wall volume of our hollow cylindrical container can then be computed from the difference in cylindrical volumes associated with the exterior of the container and the interior hollow. vwall vcylinder vhollow where v hollow h (R-t For a schematic of the dimensions of this tank, see the figure on the next page
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
