编辑代码

#include <iostream>
using namespace std;
struct A{
    char a [20];
    char b [20];
    int c ;
};
int main() {
    A e ;
    cin>>e.a>>e.b>>e.c;
    cout<<"我的班级:"<<e.a<<endl;
    cout<<"我的姓名:"<<e.b<<endl;
    cout<<"我的学号:"<<e.c<<endl;
	return 0;
}