C LANGUAGE - FINDING VOLUME OF CUBE OR CUBIOD

// Find volume of cube or cuboid #include<stdio.h> int main() { int l,b,h,v; printf("enter the value of l:\n"); scanf("%d",&l); printf("enter the value of b:\n"); scanf("%d",&b); printf("enter the value of h:\n"); scanf("%d",&h); v=l*b*h; printf("Volume Of Cube::%d",v); }
Note: Click on copy button to copy the given code and you can paste it in any online compiler to see the result, IF YOU ARE A MOBILE USER THEN DOWNLOAD "CODING C"(Free App) COMPILER FROM GOOGLE PLAY STORE.