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

Hansika paid $9.25 for 2.8 pounds of pretzels. About how much did she pay for a pound of pretzels?
asap please if your company introduces a product as a temporary high price and intends to lower the price later, you are using what type of pricing strategyA. p
do i have this right so far ?(1)
Which of the following tasks did China work on to improve the air quality before the 2008 Summer Olympics? A. Replacing polluting taxi cabs B. Replacing coal fu
What does the word pootha mean in spanish?
Which of the following is a disadvantage of using hydropower? (2 points) The turbines can make the water too warm. It produces waste that can be difficul
What is the classification of clouds based on?
The software application associated with a specific file type is called a(n) __________ application.
What system drove european nations to compete for control of limited worldwide wealth? brainly?
Govinda relies on leaders and teachers in his journey to wisdom or enlightenment, while siddhartha insists on discovering wisdom himself through experiences. wh