scanf( %c", &yn); yl‖yn==Y) { printi请输入新的 Teacher属性:”); scanf(" %s", &New Teacher) EXEC SQL UPDATEC SET TEACHER=. NewTeacher WHERE CURRENTOF CX,*修改当前元组的 TEACHER属性* EXEC SQL CLOSE Cxscanf(“%c”,&yn); if (yn == ‘y’|| yn== ‘Y’) {printf(“请输入新的 Teacher 属性:”); scanf(“%s”, &NewTeacher); EXEC SQL UPDATE C SET TEACHER=:NewTeacher WHERE CURRENT OF cx; /*修改当前元组的 TEACHER 属性*/ } … } EXEC SQL CLOSE cx;