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 teach as you produce the statute control this program. Thank you so abundant.

    Write a C program to calculate the bulk and exterior area of a athwart buffet. Name your statute buffet.c.

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

    (b) Calculate the area and bulk and evidence each retort on its admit order concurrently with the individuals

    (c) Evidence the retorts in or-laws notation with 3 decimal points

    (d) your executable should be named buffet.x

    Expert Retort

     

    Answer)

    Statute :

    #include<conio.h>
    #include<stdio.h>
    void deep()
    {
    int a,b,c;
    float bulk,s;
    char str[10];
    clrscr();
    printf(“Enter the individual of extents”);
    gets(str);
    printf(“n Enter the extents of athwart buffet in order 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 Bulk of Athwart buffet is %.3f %s cube”,volume,str);
    printf(“nn Exterior area of Athwart buffet is %.3f %s clear “,s,str);
    getch();
    }

    Screenshots of Executed Statute :

    Outputs :