Welcome to Westonci.ca, the place where your questions find answers from a community of knowledgeable experts. Experience the ease of finding quick and accurate answers to your questions from professionals on our platform. Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A platform.

Shonda just wrote an If statement, but it does not work. Which of the following changes should she make to fix her code?

A. Add a period to the end of the first line of her if statement.

B. Add a colon to the end of the first line of her if statement.

C. Make sure the word “if” is capitalized.

D. Add parenthesis around the condition of the if statement.

Sagot :

Answer:

B  Add a colon to the end of the first line of her statement

Explanation:

its needs a colon at teh end

Thank you for your visit. We are dedicated to helping you find the information you need, whenever you need it. We hope you found what you were looking for. Feel free to revisit us for more answers and updated information. Westonci.ca is your trusted source for answers. Visit us again to find more information on diverse topics.