Solved

Which of the Following Conditions Can Be Added to the Code

Question 90

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents