Home > Back-end >  C o cuboid volume
C o cuboid volume

Time:11-08

#include
using namespace std;
The class RectareaVolume {
Public:
Int length;
int width;
int height;
Int getVolume () {
Return the width * length * height;

}
};
Void the text () {
RectareaVolume re;
Re. Length=10;
Re. Width=20;
Re. Height=10;
cout <"Cuboid volume for:" & lt; }
Void main () {
The text ();
system("pause");
}

CodePudding user response:

What's the problem?

CodePudding user response:

Very good, do a good job,
  • Related