when using conditions, what is the keyword to use two conditions at the same time? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

when using conditions, what is the keyword to use two conditions at the same time?

current code: if (answer != "answer1" + "answer2") { extra code goes here; } doesnt work

28th Feb 2022, 7:45 AM
sssharks
sssharks - avatar
2 Answers
28th Feb 2022, 7:57 AM
Simba
Simba - avatar
0
&&
15th Mar 2022, 5:49 AM
Kail Galestorm
Kail Galestorm - avatar