I've looked on other websites but can't find anything that works for me. 

I'm trying of add discounts on furniture sales based on the item ordered and the amount of that item ordered, find the table below:

table (0):
Amount ordered (discount offered): 1-5(5%), 6-9(10%), 10+(20%)

chair(1)
Amount ordered (discount offered): 1-5(3%), 6-9(7%), 10+(12%)

Here's my code, I still can't get it to work as this is my second week using the C++ programming language. I would appreciate it if someone could please let me know what it is that I'm doing wrong:

```
#include <iostream>
#include <string>
using namespace std;
int main ()

{
 int yc;
 char cc;

 cout <<"Enter furniture code:";
 cin >> yc;

 cout <<"Enter amount ordered:";
 cin >> cc;

 switch (yc)
 {
 case 0: cout <<"you selected item: " << yc << endl;
        break;
 case 1: cout <<"you selected item: " << yc << endl;
        break;

 }

 switch (cc)
 {

        case '1':
        case '2':
        case '3':
        case '4':
        case '5':

        cout <<"discount applied: " << cc << endl;
                     break;

        case '6':
        case '7':
        case '8':
        case '9':

        cout <<"discount applied: " << cc << endl;
                     break;

        default:
            if (cc >= 10)
                cout <<" discount applied: " << cc << endl;

 }

 system("PAUSE");
 return 0;
}

```

If my inputs are:

```
Enter furniture code: 0
Enter amount ordered: 4

```

It outputs:

```
you selected item: 0
discount applied: 4

```

I want to output to be:

```
you selected item: 0

```

discount applied: 5%

since I seelected the table (0) and the amount ordered is between 1-5.