The x below you should be int.
When x=3, the output should be * * d.
When x=4, output #4.
Similarly, as long as it is odd, it is the output of the front, and even is the output of the back style.
(x%2) This result returns a bool value, and if flase and true are divisible by 2, it returns true, otherwise it returns false.
Question mark expression, if true, output the expression before the colon, if false, output the expression after the colon.
The program only judges the results of 3, 4 and 5, so
The overall result is that
**d##4
**d