Ask Question

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

+5
Answers (1)
  1. 18 January, 09:46
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers