void Insert_price(SeqList &L)
{
Student p;
int i;
for (i = 0; i < L.last; i++)
if (L.elem[i].price < L.elem[i - 1].price)
{
p = L.elem[i];
int j=0;
for (j = i - 1; j <= 0 && L.elem[j].price > p.price; j--)
L.elem[j + 1] = L.elem[j];
L.elem[j + 1] = p;
}
i=0;
for(i=0;i<L.last;i++)
{
printf("学号:%s 姓名:%s 成绩:%d\n\n",L.elem[i].no,L.elem[i].name,L.elem[i].price);
}
printf("\n");
}