最病 A Requirement changes C bool ptFlag= false //remember to reset this flag void Copy(r int C Read Keyboard Write printer while((c=pflAg RdPi Read Paper Tape Rdkbd()=EOF) WrtPrt(c) Institute of Computer Software 2021/2/2 Nanjing University2021/2/2 Institute of Computer Software Nanjing University 24 Requirement changes bool ptFlag = false; //remember to reset this flag void Copy(){ int c; while ((c=(ptFlag?RdPt(): RdKbd())!=EOF) WrtPrt(c); } Copy Read Keyboard Write Printer char char Read Paper Tape char