Hi, I am supposed to generate an invoice for an order in a e-commerce. I am able to get it to display the choices I want and output the category I input, but I do not know how get the program to register the price for each brand (Example, Adidas is 91), and later on, how to select the quantity of each brand. This is what I have so far. I realize it is horrific.
#inlclude <iostream>
usng namespace std;
int main(void)
{
int category, brand(const int Sn_Ad,const int Sn_Ni,const int Bt_Ba,const int Bt_Ca,const int Lf_Cal,const int Lf_Co),quantity;
const int Sn_Ad=91;
const int Sn_Ni=87;
const int Bt_Ba=65;
const int Bt_Ca=60;
const int Lf_Cal=55;
const int Lf_co=62;
cout<<"Please select a category:\n"
<<"1 for sneakers.\n"
<<"2 for boots.\n"
<<"3 for loafers.\n"
<<"0 to checkout.\n"
cin>>category;
switch (category)
{
case 1;
cout<<"Please select a sneakers brand:.n\
<<"1 for Nike.\n"
<<"2 for Adidas.\n"
<<"0 to go back.\n";
cin>>brand;
switch(brand)
{
case 1:
cout<<"Please select a quantity:"<<endl;
}
}
return 0;
}