Introduction - If you have any usage issues, please Google them yourself
From the keyboard a class (the whole class a maximum of more than 30 people) students a course grades, when the input results are negative, the input end. (1). Good user input/output message(2). To use child function to realize the above each function(3). Had better not use global variables