What is the value of the variable result after the following statements execute?
Card_1 = 10;
Card_2 = 11;
If (card_1 + card_2 == 21)
Result = "You win! Your score is "+ (card_1 + card_2) ;
Else
Result = "Sorry, You lose . Score is "+ (card_1 + card_2) ;
A) You win! Your score is 10 + 11
B) You win! Your score is 21
C) Sorry, You lose . Score is + 10 + 11
D) Sorry, You lose . Score is 21
Correct Answer:
Verified
Q23: Which of the following is NOT a
Q24: If the JavaScript variable myAge has the
Q25: What is the result of the following
Q26: What is the value of the variable
Q27: What is the value of the variable
Q29: Select all that apply . In JavaScript
Q30: Select all that apply . Which of
Q31: Select all that apply . Which of
Q32: Select all that apply . Which of
Q33: _ is a programming language used for
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents