Vs code debug output nonsense?

Why is it that when using vsCode to debug the output, the content of the output is nonsensical? Or did I do something wrong?

Source code:

   


There's nothing wrong with the

code. I ran it myself, and the result was correct. See if it's a special setting for vs or something.

in addition, as a reminder, the expression of the if statement does not need to be parenthesized.

  

it will be fine after installing the Visual Studio integrated development environment, probably because of the lack of some necessary components.

Menu