WILL MARK BRAINLIEST Question #2
Dropdown
You compared each letter in the correct word to the letter guessed.
Assume the correct word is "cloud."
Finish the code to compare the guessed letter to the "u" in "cloud."
if guess ==
correct(4)
correct(3)
5-0043.2020102 correct[3]
correct[4]

WILL MARK BRAINLIEST Question 2 Dropdown You compared each letter in the correct word to the letter guessed Assume the correct word is cloud Finish the code to class=

Respuesta :

Answer:

correct[3]

Explanation:

Required

Which expression points to the u in "cloud"

First, it should be noted that "cloud" is a string and as such, the first element is represented as index 0, the next as index 1, etc.

Using the above as a guide, the u is as index 3

To access the elements of a string, we use: stringname[index]

In this case, the string name is correct.

Hence, the correct statement is: correct[3]