[Cpp] * All rightsreserved. * file name: score. cpp * OPERATOR: Ji Zilong * Completion Date: July 15, March 14, 2013 * version: v1.0 * input Description: none * Problem description: none * output: none */# include <iostream> using namespace std; class Bulk {private: int leng; // long int wid; // wide int heig; // high int volume; int area; public: void setBulk (); void volumes (); // volume void areas (); // surface area void showBulk () ;}; void Bulk: setBulk () {cout <"Enter the length, width, and height of a long column" <endl; cin> leng> wid> heig;} void Bulk: volumes () // volume {volume = leng * wid * heig;} void Bulk: areas () // surface area {area = (leng * wid + leng * heig + wid * heig) * 2;} void Bulk: showBulk () {cout <"volume" <volume <endl; cout <"surface area" <area <endl ;} int main () {Bulk a, B, c;. setBulk (); B. setBulk (); c. setBulk ();. volumes (); B. volumes (); c. volumes ();. areas (); B. areas (); c. areas ();. showBulk (); B. showBulk (); c. showBulk (); return 0;} running result: