prog.cpp:8:7: warning: missing terminating ' character
cout<<'sale";
^
prog.cpp:8:7: error: missing terminating ' character
cout<<'sale";
^~~~~~~
prog.cpp: In function ‘int main()’:
prog.cpp:9:1: error: expected primary-expression before ‘for’
for(int j=0;j<6;j++)
^~~
prog.cpp:9:13: error: ‘j’ was not declared in this scope
for(int j=0;j<6;j++)
^
prog.cpp:15:12: error: ‘avg’ was not declared in this scope
cout<<"a"<<avg<<endl;
^~~