string str ; int i ; i = 0 ; str = GetLine() ; while ( (str[i] != '\0') && (str[i] != 'a') ) { i = i + 1 ; } printf("Answer: %d\n", i) ;