皮皮学,免费搜题
登录
搜题
【单选题】
要求函数的功能是:从参数 str 字符串中删除所有参数 ch 所指定的字符,返回实际删除字符的个数,删除后的字符串仍在 str 中,为此某人编写了函数 DelChar 如下: Function DelChar(str As String, ch As String) As Integer Dim n%, st$, c$ st = "" n = 0 For k = 1 To Len(str) c = Mid(str, k, 1) If c = ch Then st = st & c Else n = n + 1 End If Next k str = st DelChar = n End Function 并用下面的 Command1_Click() 过程观察函数调用结果 Private Sub Command1_Click() ch$ = Text1.Text Print DelChar(ch, "x"), ch End Sub 发现结果有错误 , 程序代码需要修改 , 以下正确的修改方案是 ________ 。
A.
把语句Print DelChar(ch, 'x'), ch改为Print DelChar(ch, 'x') :Print ch
B.
把语句DelChar = n 改为 DelChar = st
C.
删掉语句str = st
D.
把语句If  c = ch  Then 改为If  c <> ch  Then
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【简答题】A product produced at one point has very little value to the prospective customer unless it is moved to ______________ where it will be consumed。
【单选题】肩关节前屈的关节活动范围是多少
A.
0-90 °
B.
0-120 °
C.
0-150 °
D.
0-180 °
E.
90-180 °
【单选题】Track 3-3 (4.11).mp3:
A.
B.
【单选题】Another of the key sales negotiation skills to master is always to counteroffer. Even if your prospective customer makes you a great first offer, make a counteroffer and negotiate out the details. The...
A.
Skill No. 1 Provide A Simple Reason For Your Price
B.
Skill No. 2 Use Silence
C.
Skill No. 3 Always Counteroffer
D.
Skill No. 4 Negotiate Not Only On Price
E.
Skill No. 5 Do Your Homework
F.
Skill No. 6 Be Specific About Terms
【单选题】肩关节前屈的关节活动范围是多少( )?
A.
0-90°
B.
0-120°
C.
0-150°
D.
0-180°
【单选题】Many companies even maintain their own credit departments that investigate the creditworthiness of each prospective customer.Choose a word from A, B, C, and D, which can best replace the underlined wo...
A.
creditor
B.
confidential
C.
prestige
D.
confidence
【单选题】肩关节前屈的关节活动范围是多少?
A.
0-90°
B.
0-180°
C.
0-120°
D.
90-180°
【单选题】肩关节前屈的关节活动范围是多少?
A.
90-180°
B.
0-120°
C.
0-90°
D.
0-180°
【单选题】肩关节前屈的关节活动范围是多少?
A.
0-90°
B.
0-120°
C.
90-180°
D.
0-180°
【简答题】Sally sells speech and voice recognition devices .She’s got a great product that is better than the competition, but she is having great problems selling enough. Here is her email, followed by my sugg...
相关题目: