Homework Solution: Please explain as you provide the code for this program. Th…

    Please explain as you provide the code for this program. Thank you so much. Write a C program to compute the volume and surface area of a rectangular box. Name your code box.c. (a) Ask the user to input each dimension in the units of your choice (b) Compute the area and volume and display each answer on its own line along with the units (c) Display the answers in scientific notation with 3 decimal points (d) your executable should be called box.x

    Expert Answer

     
    Answer) Code : #include<conio.h>

    Please clear-up as you procure the statute for this program. Thank you so ample.

    Write a C program to value the capacity and deportment area of a across pummel. Name your statute pummel.c.

    (a) Ask the user to input each extent in the individuals of your choice

    (b) Value the area and capacity and vault each vindication on its admit continuity concurrently with the individuals

    (c) Vault the vindications in or-laws notation with 3 decimal points

    (d) your executable should be determined pummel.x

    Expert Vindication

     

    Answer)

    Statute :

    #include<conio.h>
    #include<stdio.h>
    void main()
    {
    int a,b,c;
    float capacity,s;
    char str[10];
    clrscr();
    printf(“Enter the individual of extents”);
    gets(str);
    printf(“n Enter the extents of across pummel in conconsequence l,b,h”);
    scanf(“%d %d %d”,&a,&b,&c);
    volume=a*b*c;
    s = 2*a*b+2*b*c+2*a*c;
    printf(“n Capacity of Across pummel is %.3f %s cube”,volume,str);
    printf(“nn Deportment area of Across pummel is %.3f %s balance “,s,str);
    getch();
    }

    Screenshots of Executed Statute :

    Outputs :