Professional Documents
Culture Documents
if(code==1)
{
cout<<"\nTypes Of Clothes:";
cout<<" Baju Kurung Tradisional";
price=210.90*quantity;
cout<<"\nThe Price is(RM):\t";
cout<<price;
}
else if(code==2)
{
cout<<"\nTypes Of Clothes:";
cout<<" Baju Kurung Moden";
price=249.90*quantity;
cout<<"\nThe Price is(RM):\t";
cout<<price;
}
else if(code==3)
{
cout<<"\nTypes Of Clothes:";
cout<<" Kebaya";
price=310.90*quantity;
cout<<"\nThe Price is(RM):\t";
cout<<price;
}
else if(code==4)
{
cout<<"\nTypes Of Clothes:";
cout<<" Jubah";
price=250.90*quantity;
cout<<"\nThe Price is(RM):\t";
cout<<price;
}
else
{
cout<<"The code is invalid";
}
if(price>=500)
{
discount=price*1/10;
cout<<"\nThe Discount is(RM):\t";
cout<<discount;
total= price - discount;
cout<<"\nTotal Price is(RM):\t";
cout<<total;
}
cout<<"\n\nThank You....Please Come Again";
return 0;
}