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

A new machine is 12% more productive (measured by the number parts it produces in a period of time) than the last model. After replacing the machines during an
A jar of peanut butter was $2.25 and now is $3.50. What is the percent of change on the jar of peanut butter? Make sure to type if it is an increase or decrease
17. The purpose of the use of mummification by the Egyptians was to A. demonstrate family bonds B. follow the traditions of the peasant citizens C. worship the
Add the equations.3x-y=-5 7x+y=15
Please help I really need help I’ll give brainliest Define the words in your own words
I NEED ANSWER NOW PLEASE ITS MISSING I WILL MARK U AS BRAINLESS PELASE TELLL ME HOW U GOT UR ANSWER
the cost of a video game is $29.95 sales tax is 6% about how much will the video game cost including tax.
Need help please answer
If m<8 = 3x + 5 and m<6 = 4x - 15, find the value of x and find the m<8
Which of the following are equations for the line shown below? Check all that apply. (3, 4) 5 (-1,-2) A. y - 2 = 1.5(x - 1) B. Y + 2 = 1.5(x + 1) C. y - 4 = 1.5