Create a structure named Shirt that has the public data members collarSize and sleeveLength. Create a structure named Pants that has the public data members waistSize and inSeam. Write a program that declares one object of each type Shirt and Pants and assigns values to the objects’ data fields. Write two overloaded functions named displayClothingFacts(). One version of the function takes a Shirt object as a parameter; the other version takes a Pants object. Each version displays the facts about the piece of clothing. Your main()function should demonstrate that you can call displayClothingFacts()with either type of clothing. Save the file as Shirt.cpp.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.