Ask Question
27 January, 14:19

Given the string variable address, write an expression that returns the position of the first occurrence of the string avenue in address.

+3
Answers (1)
  1. 27 January, 16:14
    0
    It depends on a language you code. I think this could be either C + + or Java. I know answer for both of them.

    For C++: address. find ("Avenue")

    For Java: address. indexOf ("Avenue")
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Given the string variable address, write an expression that returns the position of the first occurrence of the string avenue in address. ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers