How to calculate the volume of cuboid in Node.js

1 Answer

0 votes
const length = 8;
const width = 5;
const height = 4;
           
const volume = height * width * length;
           
console.log("Volume of Cuboid = " + volume);
    
    
    
     
/*
run:
     
Volume of Cuboid = 160
     
*/

 



answered Jul 19, 2022 by avibootz

Related questions

1 answer 141 views
1 answer 129 views
1 answer 122 views
1 answer 129 views
1 answer 147 views
1 answer 124 views
...