Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+6 votes
asked in CSC211_Winter2018 by (1 point)

1 Answer

+5 votes

Counting index starts with 0. For example:

if the give String is "Computer Science" the index of each letter is going to be

index 012345678....

                "Computer Science"
answered by (1 point)