String and goto, student project

if (orderone == 1)
{


orderoneprice=7200;
cout << "AMD A10 7700k\t Php 7,200.00"<<"\n\n"<< endl;
cout<<"How many PCS?"<<endl;
cin>>orderonequantity;
orderonetotal = 7200*orderonequantity;
std::string orderone="AMD A10 7700k";
cout<<"\n Do you still want to order? \t(1)Yes\t(2)No<<endl;
cin>>deci;
system("CLS");
if(deci==1)
{
goto a;
}



Why is it the value of string cannot be read when the code jumps to a.(It only shows the number the user put) Im confuse because orderonetotal and orderonequantity was read. Im just new here so.. someone pls :(
Topic archived. No new replies allowed.