Yahknow7478 Yahknow7478
  • 08-07-2019
  • Computers and Technology
contestada

What would display if the following pseudocode was coded and executed? Declare String user = "Martha and George" Declare Integer number Set number = length(user) Display number

Respuesta :

PhantomWisdom PhantomWisdom
  • 17-07-2019

Answer:

 17

Explanation:

length() is the function which is used to find the number of character the string.

character include space as well.

initially declare the string user with input  "Martha and George".

then call length function which count the character within the double quotes""

total number is 17 (15 letters and 2 spaces).

and it then store in the integer.

finally print the value.

Therefore, the output is 17.

Answer Link

Otras preguntas

What is the equation in point slope form of the line that passes through (0,5) and (-2,11)
why do children suffer more water injuries and deaths than the average?
Last year a college admitted 32% of its applicants. If 1696 were admitted last year, how many students applied?
Five times the difference of a number and two is seven more than that number
a rectangle has the vertices of 0,0 3,0 0,6 what is the area
A blogger regularly posts comments on the blogs or websites of fellow bloggers. which data type is suitable for posting comments? what data type can he use to a
_____ is a dance move that developed in the poor communities of Harlem and was brought into the mainstream by a pop star.
25points -3(b+19)=-12 What does b=
f an adult dog has 78 chromosomes, the number of chromosomes in a dog’s sperm cell will be
Which of the following is NOT a sterile part of a flower?