prog.c:7: error: expected specifier-qualifier-list before ‘bool’
prog.c: In function ‘main’:
prog.c:21: error: ‘for’ loop initial declaration used outside C99 mode
prog.c:31: error: ‘school’ has no member named ‘BC’
prog.c:33: error: ‘school’ has no member named ‘NC’
prog.c:35: error: ‘school’ has no member named ‘CT’
prog.c:37: error: ‘school’ has no member named ‘NS’
prog.c:39: error: ‘school’ has no member named ‘NM’
prog.c:41: error: ‘school’ has no member named ‘HL’
prog.c:43: error: ‘school’ has no member named ‘NL’
prog.c:18: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result
prog.c:23: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result