bakery coding

help me. I don't know what's wrong with my coding. I am new to c++ programming
#include<iostream>
#include <cctype>
#include <cstdlib>
#include <iomanip>

using namespace std;
int main()
{
int num_package, num_package1, num_package2, num_package3, num_package4, type_cake;
char customer_name, type_package1, type_package2,type_package3, type_package4;

cout<<"Please Enter Your Name"<<endl;
cin>>customer_name;
cout<<endl;

cout<<"Enter package (1-Diamond/2-Gold/3-Silver)>>";
cin>>num_package;
cout<<endl;

{
int main()

;if (num_package1==1)
cout<<"Diamond"<<endl;

else if (num_package2==2)
cout<<"Gold"<<endl;

else if (num_package3==3)
cout<<"Silver"<<endl;

else (num_package4>=4)
;cout<<"Package are not exist – Please try again !! Thank you";
cout<<endl;
}
switch (type_package1)
{
case'1':cout<<type_package1;
cout<<"Enter your type of cake";
cin>>type_cake;
cout<<endl;

if (type_cake==1)
cout<<"Rainbow"<<endl;

else if (type_cake==2)
cout<<"Red Velvet"<<endl;

else (type_cake>=3)
;cout<<"Only RAINBOW CAKE and RED VELVET are available for this package"<<endl;

break;

case'2':(type_package2)
;cout<<"Enter your type of cake"<<endl;
cin>>type_cake;
cout<<endl;

if (type_cake==1)
cout<<"Tiramisu"<<endl;

else if (type_cake==2)
cout<<"Butterscotch"<<endl;

else (type_cake>=3)
;cout<<"Only TIRAMISU CAKE and BUTTERSCOTCH are available for this package"<<endl;

break;

case'3':(type_package3)
;cout<<"Enter your type of cake";
cin>>type_cake;
cout<<endl;

if (type_cake==1)
cout<<"Blueberry"<<endl;

else if (type_cake==2)
cout<<"Carrot Cheese"<<endl;

else (type_cake>=3)
;cout<<"Only BLUEBERRY and CARROT CHEESE are available for this package"<<endl;


}
return 0;

}












indent your cpde and use code tags, the
<>
symbol
Topic archived. No new replies allowed.