'How can I remove unnecessary lines from terminal in vs code?

When i run c file in vs code it shows like this.(Highlighted from screenshot) Highlighted text



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source