Computer Science Archive: Questions from October 13, 2022
-
2 answers
-
2 answers
-
What is the output of the following algorithm? integer \( x \) integer \( y \) integer \( z \) \( x=20 \) \( y=8 \) if \( (x \% y>4) \) \( \quad z=x+y \) else \( \quad z=x-y \) Put \( x+y+z \) to outp2 answers -
If \( \mathrm{P}(\mathrm{y})=0.7 \) and \( \mathrm{P}(\mathrm{x} \mid \mathrm{y})=0.3 \) then \( \mathrm{P}(\mathrm{x}, \mathrm{y})= \)2 answers