Question: USING: C++ Thank You Appreciate your help!! Define an array structure definition named ShoeRec suitable for a shoe records of the type illustrated below: (SAMPLE
USING: C++ Thank You Appreciate your help!!


Define an array structure definition named ShoeRec suitable for a shoe records of the type illustrated below: (SAMPLE OUTPUT) StockNumber Shoe Type ShoeBrand Date Purchase shoeQuantity shoeCost TotalValue 10 12345-10 54678-01 Wedge Flats Figlia Aldo 9-29-2011 6-17-2010 Php999.00 Php3550.50 Php9990.00 Php 71010.00 20 Prompt the user to input 10 numbers of Shoe records. Use name constant for the size. use function void inputShoe(ShoeRec getshoe[]) to enter the values of each field/member of the structure Use function void compVal (ShoeRectValue(l) to compute and calculate the value of TotalValue. enter month, day and year for DatePurchase. You must define another structure for the date purchase and name the struct as datePurchase. (NESTED STRUCTURE- a struct within a struct) Use function setw to set the width of the output and use 2 decimal places for all the amount value. Use exception handling try-throw-catch method for the validation of the following: o Stocknumber (length of 8 only) o no. of shoes (1-20 only) o shoeQuantity 5-50 only o month 1-12 only, day 1-31 only and year 2000-2021only. o Ask the user to re-enter correct value for the mentioned validation. Save the data/record (same as the sample output) to a textfile named shoelnventory.txt
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
