CS190   Trace Problem  Switch                 Name:   ___________________________

main()
{   int a, b;
     cin>>a>>b;
     if ((a > 10) && (b> 5) && (a>b))
     {   if  ( a < 8)
              cout<<"Hello "<<endl;
         else
              a=  a + 10;
      } else
      {
           b = b + 3;
       }
       cout<<a<<" "<<b<<endl;
}
Input Data:  7   9
Var





Output



Input Data:  12   8
Var





Output



Input Data:  13  4
Var





Output



main()
{   int a, b, c;
     cin>>a>>b>>c;
     switch(a)
     { 
          case 1: c = c + 10;
                      break;  
          case 2: cout<<"Good"<<endl;
          case 3: cout<<"hello"<<endl;
                      break;
          default:  c = c + 5;
                       cout<<"Hello";
       }
       cout<<a<<b<<c<<endl;
}
Input Data: 2   3   4   
Var





Output



Input Data: 3   2   9
Var





Output



Input Data: 1  3  8
Var





Output



main()
{   int a, b, c;
     cin>>a>>b>>c;
     b = a + c;
     switch(b)
     { 
          case 1: c = c + 10;          
          case 2: a = a + 7;
          case 3: c = c + 2;
                      break;
          case 10:
          case 11: a = a +7;
          default:  c = c + 5;
                      cout<<"Hello";
       }
       cout<<a<<b<<c<<endl;
}
Input Data: 0  3  1
Var





Output



Input Data: 7 8 3
Var





Output



Input Data: 1 9 4
Var





Output



main()
{  
int a, b, c=2;
     cin>>a>>b;
     switch(b)
     { 
          case 1: if (a > 5)
                          cout<<"Hello";
                     else
                           cout<<"Goodbye";
                      break;          
          case 2: cin>>c;
          case 3: a = 7;
                      break;
           default:  c = c + 5;
                      cout<<"Hello";
       }
       cout<<a<<b<<c<<endl;
}




}
Input Data:2  5  4
Var





Output



Input Data: 7  1  2
Var





Output



Input Data:1 2 6
Var





Output