i need c++ code with screenshot of the running program Create a class with name
ID: 660959 • Letter: I
Question
i need c++ code with screenshot of the running program
Create a class with name Cubicle. The name stands for any rectangular prismatic solid body having three dimensions, i.e. length, width, and height. The program calculates the surface area and volume of cubic prisms. Three instances or objects are created by names cube1, cube2 and cube3.
Functions in Cubicle class include:
void set_sides( int , int, int );
void show_sizes(int, int, int);
int volume ();
int surface_area ();
Write a main() that allows the user to enter sizes, display sizes, calculate the volume and surface area.
Explanation / Answer
1. // Employee.cpp file //11.07.2012 #include #include #include using namespace std; #include "Employee.h" int main() { Employee employee1 ( "Jack" , "Miller", 1000); Employee employee2 ( "Bill" , "Clinton", 2000); coutRelated Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.