Copy link to clipboard
Copied
I wonder how it could make reading the code as follows:
"If the value is greater than X and less than X"
I tried using the following:
if (score> = 10 && <= 30)
But this way I used is giving error at the time of execution of the tests, could anyone help me?
"If the value is greater than X and less than X" is an impossible scenario, but for what you show as an example the following would be a way to write it...
if (score >= 10 && score <= 30)
Copy link to clipboard
Copied
"If the value is greater than X and less than X" is an impossible scenario, but for what you show as an example the following would be a way to write it...
if (score >= 10 && score <= 30)
Find more inspiration, events, and resources on the new Adobe Community
Explore Now