QUESTION IMAGE
Question
write the statements below in code using the comparison operators. 5 is greater than 4 10 is greater than or equal to 11 12 is less than or equal to 12 \hello\ is equal to \hello\ 3.5 is not equal to 3
Step1: Use '>' for greater than
$5>4$
Step2: Use '>=' for greater than or equal to
$10>=11$
Step3: Use '<=' for less than or equal to
$12<=12$
Step4: Use '==' for string equality
$"hello"=="hello"$
Step5: Use '!=' for not equal to
$3.5!=3$
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
$5>4$, $10>=11$, $12<=12$, $"hello"=="hello"$, $3.5!=3$