Write a Menu driven Inventory Program

#include
#include
#include
#define MAX_REC 10

class Inventory{
char itemName[15];
int code;
double cost;
public:
void getdata();
void showdata();
};

void Inventory :: getdata(){
cout<<"\nEnter Item Name : "; cin>>itemName;
cout<<"Enter Code : "; cin>>code;
cout<<"Enter Cost : "; cin>>cost;
}

void Inventory :: showdata(){
cout<<<<<<"\n=====Inventory Management=====\n"; cout<<"\nHow many Records to be created : "; cin>>n;

cout<<"Enter "<<<" Records\n";
for(i=0;i
record[i].getdata();

cout<<"\n\n---Stock Information---\n";
cout<<"\n"<<<"Item Name"
<<<"Code"
<<<"Cost"<
cout<<"-------------------------------------------";

for(i=0;i
record[i].showdata();

getch();
}