I write and run my code in VScode but it shows nothing in the terminal.
Question posted in Visual Studio Code
View the official documentation.
View the official documentation.
I write and run my code in VScode but it shows nothing in the terminal.
2
Answers
You need to SAVE your code before you execute it. I see that your code is not saved.
Save your code with this keyboard shortcut: Ctrl+S
Also, you do not have a file, your file name says "New Document…". You need to Go to File, open a folder, and inside a new project folder create your file.
Now your program will run as expected!