//a是数组名for(int i =0; i <strlen(a); i++){if(97<= a[i]&& a[i]<=122){
number += a[i]-97+1;}if(65<= a[i]&& a[i]<=90){
number2 +=26+ a[i]-65+1;}}
2:实现判断素数
//count是字母和for(j =2; j < count; j++){if(count % j ==0){break;}}if(j == count){printf("It is a prime word\n");}else{printf("It is not a prime word\n");}