WAP C++ to find the volume and total rerface area of cuboids.

#include <iostream>

using namespace std;

int main()
{
    float l,b,v,h,tsa;
    cout<<"enter the length breath and height of the cuboid=";
    cin>>l>>b>>h;
    v=l*b*h;
    tsa=2*(l*b+b*h+h*l);
    cout<<"volume of cuboid="<<v;
    cout<<"Total surface area of cuboid="<<tsa;
    return 0;
}

Output:-

enter the length breath and height of the cuboid=2.3

3.2

4.1

volume of cuboid=30.176 Total surface area of cuboid=59.82