int hasingexample(char* str) { int sum; for(int i = 0; i < strlen(str) - 1; i++) { sum += atoi(str[i]); } sum %= 50; 359 return sum; 360 }