how can i solve this?
Hey guys why I have this error in lines 22, 26, 30, and 34? error : subscribted value is neither nor pointer nor vector #include <stdio.h> void StrStat(Str); int main() { char StrReza[100]; fgets(StrReza,100,stdin); StrStat(StrReza); return 0; } void StrStat(Str) { int a; a = strlen(Str); int baseda; baseda = 0; int biseda; biseda = 0; int adad; adad = 0; for(int i=0;i<a;i++) { if(Str[i]==97 || Str[i]==101 || Str[i]==117 || Str[i]==111 || Str[i]==105 || Str[i]==65 || Str[i]==69 || Str[i]==79 || Str[i]==85 || Str[i]==73) { baseda++; } else if(Str[i]>=65 && Str[i]<=90 && Str[i]!=65 && Str[i]!=69 && Str[i]!=79 && Str[i]!=85 && Str[i]!=73) { biseda++; } else if(Str[i]>=97 && Str[i]<=122 && Str[i]!=97 && Str[i]!=101 && Str[i]!=117 && Str[i]!=111 && Str[i]!=105 ) { biseda++; } else if(Str[i]>=48 && Str[i]<=57) { adad++; } } printf("%d\n%d\n%d",baseda,biseda,adad); }