Q:

Write a statement that will store logical true in a variable named “isit” if the value of a variable “x” is in the range from 0 to 10, or logical false if not. Do this with just one assignment statement, with no if or if-else statement!

0

Write a statement that will store logical true in a variable named “isit” if the value of a variable “x” is in the range from 0 to 10, or logical false if not. Do this with just one assignment statement, with no if or if-else statement! 

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

isit = x > 0 && x < 10 

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now