day;Р room[j].personal.start.day=0;Р room[s].room_ID=s;Р room[s].price=room[j].price;Р room[s].personal.count=room[j].personal.count;Р hj[s]=1;Р hj[j]=0;Р printf("\n\n\t\t按 1 返回主菜单,按 2 继续: ");Р scanf("%d",&a);Р switch(a)Р {Р case 1:menu();break;Р case 2:amend_room1();break;Р }Р?case 2:printf("\n\t\t\t 请输入房号: ");Р scanf("%d",&s);Р printf("\t\t\t请输入新单价: ");Р scanf("%d",&x);room[s].price=x;Р printf("\n\n\t\t按 1 返回主菜单,按 2 继续: ");Р scanf("%d",&a);Р switch(a)Р {Р case 1:menu();break;Р case 2:amend_room1();break;Р }Р?case 3:printf("\n\t\t\t 请输入房号: ");Р scanf("%d",&s);Р printf("\t\t\t请输入新入住人数: ");Р scanf("%d",&x);Р room[s].personal.count=x;Р printf("\n\n\t\t按 1 返回主菜单,按 2 继续: ");Р scanf("%d",&a);Р switch(a)Р {Р case 1:menu();break;Р case 2:amend_room1();break;Р }Р?case 4:break;Р?}Р?save();Р?menu();