Main.cc: In function 'int main()':
Main.cc:4:5: error: 'iny' was not declared in this scope
iny p=0;
^
Main.cc:8:9: error: 'p' was not declared in this scope
p+=a[i];
^
Main.cc:9:22: error: 'p' was not declared in this scope
}printf("%2lf\n",p/7;);
^
Main.cc:9:26: error: expected primary-expression before ')' token
}printf("%2lf\n",p/7;);
^