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

I need help with this plzzzz someone help
four reasons why incidents of gender based violence in communities continue despite various campaigns to discourage it​
What is the mean of the data set shown below? {10, 2, 8, 9, 5, 2, 6} A. 42 B. 7 C. 6 D. 2
may I please have help from anyone thank you so much !
There are 20 rows of seats on a concert hall: 25 seats are in the 1st row, 28 seats on the 2nd row, 31 seats on the third row, and so on. How many seats are in
pls help me with this I'll give you the brainist you need to put the letters to make a word.​
A line that includes the points (-9, 6) and (-3, s) has a slope of -1. What is the value of s?
Multiply. ( 4x+3)(4x-3)
Last year, TBA Corporation, a calendar-year taxpayer, reported a tax liability of $100,000. TBA confidently anticipates a current-year tax liability of $240,000
I will give brainliest!! 30 points. Look at the picture for the question…