Main.cc: In function 'int main()':
Main.cc:16:20: error: 'jj' was not declared in this scope; did you mean 'j'?
16 | max= a[jj];
| ^~
| j
Main.cc:5:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
5 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
Main.cc:9:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
9 | scanf("%d",& a[i]);
| ~~~~~^~~~~~~~~~~~~