C Program for Simple Alphabet Dictionary for Kids

Write a program by using switch case to make simple alphabet dictionary for kids.
Write a program do demonstrate switch case for characters in C.
C program to demonstrate switch case in c programming.
C Program for Simple Alphabet Dictionary for Kids

C Code


#include<iostream.h>
#include<conio.h>
void main()
{
  char word[10];
  cout<<"_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-__-_"<<endl;
  cout<<"                       Alphabet Dictonary-For Kids                            "<<endl;
  cout<<"_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_"<<endl;
  cout<<"Enter the Word:";
  cin>>word[10];
  if(word[10]=='a' || word[10]=='A'){
    cout<<word[10]<<" For=Apple";
  }
  else if(word[10]=='b' || word[10]=='B'){
  cout<<word[10]<<" For=Ball";
  }
  else if(word[10]=='c' || word[10]=='C'){
  cout<<word[10]<<" For=Cat";
  }
  else if(word[10]=='d' || word[10]=='D'){
  cout<<word[10]<<" For=Dog";
  }
  else if(word[10]=='e' || word[10]=='E'){
 cout<<word[10]<<" For=Dog";
 }
 else if(word[10]=='f' || word[10]=='F'){
  cout<<word[10]<<" For=Dog";
  }
  else if(word[10]=='g' || word[10]=='G'){
   cout<<word[10]<<" For=Gun";
   }
   else if(word[10]=='h' || word[10]=='H'){
    cout<<word[10]<<" For=House";
    }
    else if(word[10]=='i' || word[10]=='I'){
     cout<<word[10]<<" For=Ink-Pot";
     }
     else if(word[10]=='j' || word[10]=='J'){
      cout<<word[10]<<" For=Jump";
      }
      else if(word[10]=='k' || word[10]=='K'){
       cout<<word[10]<<" For=Kite";
       }
       else if(word[10]=='l' || word[10]=='L'){
        cout<<word[10]<<" For=Love";
        }
        else if(word[10]=='m' || word[10]=='M'){
         cout<<word[10]<<" For=Monkey";
         }
         else if(word[10]=='n' || word[10]=='N'){
          cout<<word[10]<<" For=Nepal";
          }
          else if(word[10]=='o' || word[10]=='O'){
           cout<<word[10]<<" For=Orange";
           }
           else if(word[10]=='p' || word[10]=='P'){
            cout<<word[10]<<" For=Pen";
            }
            else if(word[10]=='1' || word[10]=='Q'){
             cout<<word[10]<<" For=Quite";
             }
             else if(word[10]=='r' || word[10]=='R'){
              cout<<word[10]<<" For=Dog";
              }
              else if(word[10]=='s' || word[10]=='S'){
               cout<<word[10]<<" For=Sun, Sum";
               }
               else if(word[10]=='t' || word[10]=='T'){
                cout<<word[10]<<" For=Train";
                }
                else if(word[10]=='u' || word[10]=='U'){
                 cout<<word[10]<<" For=Unlimited";
                 }
                 else if(word[10]=='v' || word[10]=='V'){
                  cout<<word[10]<<" For=Village";
                  }
                  else if(word[10]=='w' || word[10]=='W'){
                   cout<<word[10]<<" For=Work";
                   }
                   else if(word[10]=='x' || word[10]=='X'){
                    cout<<word[10]<<" For=X-Ray";
                    }
                    else if(word[10]=='y' || word[10]=='Y'){
                     cout<<word[10]<<" For=Yahoo";
                     }
                     else if(word[10]=='z' || word[10]=='Z'){
                      cout<<word[10]<<" For=Zebra";
                      }
  else
  ;
  getch();
}