Trouble with my case loop

Having trouble with case loop. Its giving me an error saying "Jump to case label [-fpermisive]. Help
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  switch (itemmenu){
case 1:
    cout << "How much would you like to withdrawal?" << endl;
cin >> InputWithdrawl;
int change = gg.GetBalance()-InputWithdrawl;
cout << "Your balance is  " << change << endl;
break;

case 2:
    cout << "How much money you want to put inside of your savings?" << endl;
    cin >> InputSavings;


break;
}
}
Not enough information. Your switch statement looks okay assuming InputWithdrawal and InputSavings are defined somewhere.

Please post enough code to allow compiling and also post the full text of any error messages.

Topic archived. No new replies allowed.