这个程序要崩溃啊,大家帮帮忙
#include <iostream>using namespace std;
void main()
{
system("title 学生成绩统计器");
cout<<"学生成绩统计器"<<endl<<"----------"<<endl;
long rs=0,jgrs=0;
unsigned long zfs;
cout<<"你有多少个学生?"<<endl;
cin>>rs;
float yssz[2]['rs'];
system("cls");
for (int gg=0;gg<rs;gg++)
{
cout<<"接下来统计成绩(语文数学):"<<endl;
cin>>yssz[0]['gg']>>yssz[1]['gg'];
system("cls");
if ((yssz[0]['gg']>60)||(yssz[1]['gg']>60))
{
jgrs++;
}
for (long swe=1;swe<=rs;swe++)
{
zfs=yssz[1]['swe']+yssz[2]['swe'];《《《《《《《《《《《《《这句出了什么问题???
}
cout<<"总平均分为"<<zfs/rs<<"。"<<endl;
}
cout<<"及格人数有"<<rs-jgrs<<"个!"<<"不及格人数有"<<jgrs<<"个!"<<endl;
system("pause>nul");
}