QUESTION IMAGE
Question
what is the value stored in the variable canvote?
var age = 22
var canvote = age >= 18
answer 1
true
answer 2
false
answer 3
na
Step1: Analyze the condition
We have the condition age >= 18 where age = 22.
Step2: Evaluate the comparison
Since \(22\geq18\) is a true statement.
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
- true