Main.cc: In function 'int main()': Main.cc:5:13: error: 'n' was not declared in this scope cin>>a>>b>>n; ^ Main.cc:6:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=strlen(a);i