Take the 2-minute tour ×  I'm trying to solve the problem here
but I don't know why my code isn't working. Any help is
appreciated. EDIT: Edited to make correction mentioned below,
but there is still an extra "15" (in bold) on the second line of
the output and I don't understand where it is coming from.  My
output is  18662658515 555227215  #include <stdlib.h> #include
<stdio.h>  int main(void){   int n;   int j;   int i = 0;   char
mystr[15];           printf("%c", mystr[j]);       if ('A' <=
mystr[j] && mystr[j] <= 'C')       if ('D' <= mystr[j] &&
mystr[j] <= 'F')       if ('G' <= mystr[j] && mystr[j] <= 'I')
if ('J' <= mystr[j] && mystr[j] <= 'L')       if ('M' <=
mystr[j] && mystr[j] <= 'O')       if ('P' <= mystr[j] &&
mystr[j] <= 'S')       if ('T' <= mystr[j] && mystr[j] <= 'V')
if ('W' <= mystr[j] && mystr[j] <= 'Z') share|improve this
question perhaps you could elucidate what is going wrong. – 
John Nolan May 4 '09 at 21:40 The output of my program doesn't
match the output of the sample