#include struct student //定义结构体 { int math; int english; int chemistry; int all() //成员函数 { return math+english+chemistry; } }A; //定义结构体变量 void main() { int a;int b;int c; cin>>a>>b>>c; A.math=a; //结构体成员的访问 A.english=b; A.chemistry=c; cout<