设S='I am a student',T='good',Q='worker'.求:
问题描述:
设S='I am a student',T='good',Q='worker'.求:
Strlength (S)
SubString(&sub,s,8,7)
SubString(&sub,T,2,1)
Index(S,'a',1)
Index(S,T,1)
Replace(&s,'student',Q)
Concat(&N,Substring(&V,S,6,2)
Concat(&p,T,SubString(&W,S,7,8)))
这是数据结构的一题课后练习题
答
这是计算机题目呀:Strlength (S) = 14SubString(⊂,s,8,7) = 'student'SubString(⊂,T,2,1) = 'o'Index(S,'a',1) = 3Index(S,T,1) = 0Replace(&s,'student',Q) = 'I am a worker'Concat(&N,Substring(&V,...