Solved

Which of the Following Conditions Can Be Added to the Code

Question 57

Multiple Choice

Which of the following conditions can be added to the code below so it will loop until the user enters "no" or "NO"? Which of the following conditions can be added to the code below so it will loop until the user enters  no  or  NO ?    A) response.equals( no )  != response.equals( NO )  B) !(response.equals( no )  || response.equals( NO ) )  C) !response.equals( no )  || !response.equals( NO )  D) !(response.equals( no )  && response.equals( NO ) )


A) response.equals("no") != response.equals("NO")
B) !(response.equals("no") || response.equals("NO") )
C) !response.equals("no") || !response.equals("NO")
D) !(response.equals("no") && response.equals("NO") )

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions