Ask Question
28 February, 00:11

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

+2
Answers (1)
  1. 28 February, 01:49
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers