Main.cc: In function ‘int main()’: Main.cc:12:31: error: invalid conversion from ‘char’ to ‘const char*’ [-fpermissive] int length=strlen(zimu); ^ In file included from Main.cc:2:0: /usr/include/string.h:384:15: note: initializing argument 1 of ‘size_t strlen(const char*)’ extern size_t strlen (const char *__s) ^~~~~~ Main.cc:18:30: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') ~~~~~~~~~^~~~~~~~~~~ Main.cc:18:74: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') ~~~~~~~~~^~~~~~~~~~~ Main.cc:18:96: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') ~~~~~~~~~^~~~~~~~~~~ Main.cc:18:118: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] else if(zimu>='B'&&zimu<='D'||zimu>='F'&&zimu<='H'||zimu>='J'&&zimu<='N'||zimu>='P'&&zimu<='T'||zimu>='V'&&zimu<='Z') ~~~~~~~~~^~~~~~~~~~~ Main.cc:6:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&T); ~~~~~^~~~~~~~~ Main.cc:11:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&zimu); ~~~~~^~~~~~~~~~~~