Computer Science, asked by tinavema1982, 4 days ago

X c) X= 36 if x % 2 == 0 and x % 3 O: print(x, "IS Divisible by 6") - Your answer

Answers

Answered by DARK1238DEVIL
0

Answer:

OUTPUT=36 DIVISIBLE BY 6

Explanation:

36 will be assign to the variable x

when you will divide 36\2

the remainder will be 0

then when the first operation  will be true then move to the other operation (x%3)

36%3==0

then the output will be printed as such as by giving the variable value 36

point to remember :

when the statement is with (and)

the first operation should be right (TRUE).

Similar questions