谁能帮我把这个程序加段循环上去,能让我一直循环这个程序
#include "touwenjian.h"int main()
{
int score=0;
cout<<"请输入您的分数"<<endl;
cin>>score;
if (score>750||score<0)
{
cout<<"成绩输入不正确"<<endl;
}
else
{
cout<<"您的分数为"<<score<<endl;
if (score>600&&score<=750)
{
cout<<"您考上了一本"<<endl;
if (score>700)
{
cout<<"您考上了北大"<<endl;
}
else if (score>650)
{
cout<<"您考上了清华"<<endl;
}
else
{
cout<<"您考上了人大"<<endl;
}
}
else if (score>500&&score<=600)
{
cout<<"您考上了二本"<<endl;
}
else if(score>400&&score<=500)
{
cout<<"您考上了三本"<<endl;
}
else
{
cout<<"未考上本科"<<endl;
}
system("pause");
return 0;
}
}