a little help please, how will i be able to make a table of
display for all user inputs at the end of the program a table something like this
BRAND NAME PRICE STOCK SOLD
struct inventoryRec
{
char prodtype[100];
char brand[100];
float price;
int stock;
int sold;
};
void main()
{
inventoryRec product[10];
int inventory,invctr=0,brandctr,prodctr,num=1,num2,prodnum=0,genctr;
int left;
cout<<"************* INVENTORY SYSTEM C++.2 *************"<<endl;
cout<<"Enter Number of Generic Products for Inventory:";
cin>>inventory;
cout<<endl<<"Enter "<<inventory<<" Generic Products:"<<endl;