#include #include #define CLS cin.ignore(cin.rdbuf()->in_avail()) int Input(ofstream& ShirtsW, int Quantity[4], float Price[4], int ID[4]) { int Count; for (Count=0; Count<=4; Count++) { CLS; cout<<"\nPlease enter Shirt ID: "; cin>>ID[Count]; CLS; cout<<"\nPlease enter Shirt Price: "; cin>>Price[Count]; CLS; cout<<"\nPlease enter Shirt Quantity: "; cin>>Quantity[Count]; ShirtsW<>ID[Count]>>Price[Count]>>Quantity[Count]; cout<<"\n"<>TestID; if (TestID==ID[0]&&TestID==ID[1]&&TestID==ID[2]&&TestID==ID[3]&&TestID==ID[4]) cout<<"\nShirt ID exists in array."; else cout<<"\nShirt ID does not exist in array."; return 0; } int Highest(float Price[4]) { int Count; float HighestPrice=0; for (Count=0; Count<=4; Count++) { if (Price[Count]>=HighestPrice) HighestPrice=Price[Count]; } cout<<"\nHighest Priced Shirt = $"<>ID[4]; return 0; }