foo.cc:4:1: error: ISO C++ forbids declaration of ‘ouputs’ with no type [-fpermissive]
4 | ouputs(int n,int a)//output high is n, triangle //a mean square before triangle
| ^~~~~~
foo.cc: In function ‘int ouputs(int, int)’:
foo.cc:24:1: warning: no return statement in function returning non-void [-Wreturn-type]
24 | }
| ^
foo.cc: In function ‘int main()’:
foo.cc:27:17: warning: unused variable ‘j’ [-Wunused-variable]
27 | int n,i,j,a;
| ^
foo.cc:27:19: warning: unused variable ‘a’ [-Wunused-variable]
27 | int n,i,j,a;
| ^