Top Posters
Since Sunday
I
3
p
2
w
2
y
2
J
2
Q
2
r
2
o
2
e
2
j
2
d
2
T
2
New Topic  
choker1998 choker1998
wrote...
Posts: 244
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
Declare Integer num = 0
For index = 0 To length(str) - 1
    If isDigit(str[index]) Then
        Set num = num + 1
    End If
End For
Display num

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

Starting Out with Programming Logic and Design


Edition: 3rd
Author:
Read 250 times
3 Replies
Replies
Answer verified by a subject expert
wheelerwheeler
wrote...
Posts: 258
Rep: 0 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

wrote...
6 years ago
thanks i really needed this
wrote...
4 years ago
thank you
New Topic      
Explore
Post your homework questions and get free online help from our incredible volunteers
  1535 People Browsing
Related Images
  
 342
  
 436
  
 340
Your Opinion
Where do you get your textbooks?
Votes: 447