need help writing this assignment in c++
this is how the program should execute
1. Prompts the user to enter the dimensions of a shipping crate and reads in the dimensions and stores them into doubles. The dimensions you will need to get are: a. Length of the storage shipping crate. b. Width of the storage shipping crate. c. Height of the storage shipping crate. 2. Calculates the volume of the rectangular prism entered in (1). (See equation below) 3. Calculates the surface area of the rectangular prism entered in (1). (See equation below) 4. Calculates the diagonal of the rectangular prism entered in (1). (See equation below) 5. Prompts the user to enter the dimensions of the storage space for shipping crates and reads in the dimensions and stores them into doubles. The dimensions you will need to get are: 1. Length of the storage space for the shipping crates. b. Width of the storage space for the shipping crates. c. Height of the storage space for the shipping crates 6. Calculates the volume of the rectangular prism entered in (5). (See equation below) 7. Calculates the surface area of the rectangular prism entered in (5). (See equation below) 8. Calculates the diagonal of the rectangular prism entered in (5). (See equation below) 9. Finds out how many shipping crates can fit in the storage space. (See equation below) 10. Outputs the answers from (2), (3), (4), (6).(7), (8), and (9) nicely using iomanip. See the Example Executions for example formatting The equation for volume of a rectangular prism is: volume =w.hu/ The equation for surface area of a rectangular prism is: surface Area = 2(w/+h+/+how) The equation for the space diagonal of a rectangular prism is: diagonal + w2+1? The equation for how many shipping crates can fit in a storage space is: total = LspaceL / cratelj. LspaceW / crateW J.LspaceH / crateHJ SHIPPING CRATE Enter length of the shipping crate **10 Enter width of the shipping crate **10 Enter height of the shipping crate **10 STORAGE SPACE Enter length of storage space **100 Enter width of storage space **100 Enter height of storage space **100 I TYPE | LENGTH | WIDTH HEIGHT | VOLUME | SURFACE AREA DIAGONAL | Crate | 10.0 1 Space 100.0 | 10.0 | 100.0 | 10.0 | 100.0 | 1000.0 | 1000000.0 | 600.0 160000.0 | 17.3 | 173.2 1000.0 crates can fit in the storage space