Top Posters
Since Sunday
c
5
j
5
a
5
L
5
f
5
j
5
D
4
k
4
y
4
t
4
h
4
l
4
New Topic  
SaintAndrews SaintAndrews
wrote...
Posts: 470
Rep: 0 0
7 years ago
If the following pseudocode were an actual program, what would it display?

Declare String str = "a1b2c3d4"
Declare Integer index
For index = 0 To length(str) - 1
    If isLetter(str[index]) Then
        Set str[index] = "+"
    End If
End For
Display str

a.   +1+2+3+4+
b.   +1+2+3+4
c.   1+2+3+4
d.   a+b+c+d+
e.   None of the above.
Textbook 
Starting Out with Programming Logic and Design

Starting Out with Programming Logic and Design


Edition: 3rd
Author:
Read 141 times
2 Replies
Replies
Answer verified by a subject expert
lemonelemone
wrote...
Posts: 221
Rep: 6 0
7 years ago
Sign in or Sign up in seconds to unlock everything for free
More solutions for this book are available here
1

Related Topics

SaintAndrews Author
wrote...
7 years ago
Easier than I thought
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  850 People Browsing
Related Images
  
 363
  
 252
  
 272
Your Opinion
Which 'study break' activity do you find most distracting?
Votes: 820