#include<iostream>
using namespace std;
int main(){
	char *ch="abdefghijklmnoqrstuvwxy";
	cout<<"请任意输入一个字符 "<<endl;
    char c;
	cin>>c;
	int i=0;
	while(c!=ch[i]&&i<strlen(ch)){
	   ++i;
	}
	if(i!=strlen(ch))
	   cout<<"找到的字符，标号为："<<i<<endl;
	else
		cout<<"error"<<endl;


}