Contents    Page-10    Prev    Next    Page+10    Index   

Table Lookup


static int vowels[]
   = {1,0,0,0,1,0,0,0,1,0,0,0,0,
      0,1,0,0,0,0,0,1,0,0,0,1,0};

int vowel(ch)
  int ch;
  {  int sw;
     sw = vowels[ch - 'A'];
     return (sw);
   }