Can someone help me find the errors in my codes and fix them... There are mistakes on the raffle portions. These are my codes so far: NOTE: Only use void functions if possible, please... #include #include //MAXRAFFLE is the maximum number of available raffle tickets #define MAXSIZE 100 #define MAXAUCTIONITEMS 1000 #define MAXRAFFLE 1000 //Function prototypes - do not change these void initRaffle(int raffles[MAXRAFFLE]); void initAuction(float auction[2][MAXAUCTIONITEMS]); void buyTickets(float * totalRevenue, int * ticketsSold, int numTickets, float price); void buyRaffle(float * totalRevenue, int raffles[MAXRAFFLE], int availTickets, int numTickets, int person); void bid(float auction[2][MAXAUCTIONITEMS], float bid, int auctionNumber, int person, int flag); float awardAuction(float auction[2][MAXAUCTIONITEMS], int auctionNumber); void awardRaffle(int raffles[MAXRAFFLE], int raffleNumber, int winner); //Main function int main() { FILE * ifp; char filename[MAXSIZE], event[MAXSIZE], item[MAXSIZE]; float presale, dayOf, totalRevenue = 0; float auctions[2][MAXAUCTIONITEMS]; int raffles[MAXRAFFLE]; int numPresale, numAuctions, numRaffle, numPrizes, numEvents; int i, ticketsSold = 0, auctionFlag = 1; printf(\"Please enter the input file name.\ \"); scanf(\"%s\", filename); ifp = fopen(filename, \"r\"); fscanf(ifp, \"%f%f%d\", &presale, &dayOf, &numPresale); totalRevenue += numPresale * presale; ticketsSold = numPresale; fscanf(ifp, \"%d\", &numAuctions); fscanf(ifp, \"%d%d\", &numRaffle, &numPrizes); fscanf(ifp, \"%d\", &numEvents); initRaffle(raffles); initAuction(auctions); for (i=0; iauction[0][auctionNumber]) { auction[0][auctionNumber]=bid; auction[1][auctionNumber]=person; printf(\"\ BIDITEM %d ACCEPTED for PERSON %d at %0.2f DOLLARS\",auctionNumber,person, bid); } else { printf(\"\ BIDITEM %d REJECTED for PERSON %d at %0.2f DOLLARS\",auctionNumber,person, bid); } } else printf(\"\ BIDITEM %d REJECTED for PERSON %d at %0.2f DOLLARS\",auctionNumber,person, bid); } // Pre-conditions: auction is an 2D array that holds the current highest bid and the person with // the highest bid // auctionNumber is the numerical identifier for the item being awarded // Post-condition: Returns the value of the highest bid for the auction specified by auction number // // What to do in this function: Check to see if the auction identified by auctionNumber has any // bids. If so, award the auction to the person with the highest bid. If not, print out that // there have been no bids for this item. Return the appropriate value to be added to totalRevenue float awardAuction(float auction[2][MAXAUCTIONITEMS], int auctionNumber) { if(auction[0][auctionNumber]!= EOF) { printf(\"\ AUCTION ITEM %d WON BY PERSON %.2f for $%.2f\",auctionNumber, auction[1][auctionNumber],auction[0][auctionNumber]); return auction[0][auctionNumber]; } printf(\"\ NO BIDS FOR AUCTION ITEM %d\", auctionNumber); return 0; } // Pre-conditions: raffles is an array of all possible raffle tickets // .