michicaLef michicaLef
  • 17-02-2017
  • Computers and Technology
contestada

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

Respuesta :

antonsandiego
antonsandiego antonsandiego
  • 23-02-2017
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")
Answer Link

Otras preguntas

Plzzzzzz help ASAP!!!!!
Can you please give me the answer to this question
How can we solve this?
Please help ASAP! I'm being timed!
how do credit card companies determine their aprs??
Look up runic in a dictionary. In your own words, give at least three definitions of the term. Then review the context of the word's use in "The Bells" and stat
Please help! (03.02) Thanks so much. Empareja el nombre con la descripción correcta. Match the name of the event with the correct description. Match Term Defini
What is the prepositional phrase in this sentence Who can be likened unto the Lord?
Can someone help me with Spanish? They're really easy because I just started on these lessons.
PLS ANSWER THIS TY ty ty