/in/foo.cc: In function 'void keychoose(int)':
/in/foo.cc:7:15: error: 'struct product' has no member named 'atK'; did you mean 'at'?
if(pro[n].atK=pro[n].bt)
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:29:9: error: expected primary-expression before ')' token
for()
^
/in/foo.cc:30:1: error: expected primary-expression before '}' token
}
^
/in/foo.cc:30:1: error: expected ';' before '}' token
/in/foo.cc:30:1: error: expected primary-expression before '}' token
/in/foo.cc:30:1: error: expected ')' before '}' token
/in/foo.cc:30:1: error: expected primary-expression before '}' token