C++ here is the question and my code, if someone could fix it and make sure its
ID: 643147 • Letter: C
Question
C++ here is the question and my code, if someone could fix it and make sure its right
C++ here is the question and my code, if someone could fix it and make sure its right customer struct the customer id (an mt ? we?ll make it a random number later) the number of tickets (an mt, keeping track of the number of tickets the customer purchased) lotterynums ? a pointer to a 2dimensional array, with the number of tickets purchased being the first dimension and 3 being the second (for the 3 random lottery numbers). store struct store id (an mt ? randomly generated number) Numcust ? an mt ? the number of customers who bought lottery tickets customerlist ? a pointer to a list of customer objects, will be numcust long Numsold ? an mt the total number of lottery tickets sold Numwinners[3] ? an array of 3 ints ,initialized to O, will keep count of how many 1number winners, how many 2number winners, and how many 3number winners Owner struct stores ? a pointer to a list of store objects ? the list of stores the owner owns Numstores ? an mt ? the number of stores the owner owns Totalsold ? the total number of lottery tickets sold at all stores Totalwinners ? an array of 3 ints, with the first being the number of tickets with 1 number correct, the second being the number of tickets with 2 numbers correct, and the third place being the number of tickets with 3 numbers correct.