Follow the attached pdf for more instructions
To create and run a C program using Visual Studio 2019
 Once Visual Studio is started, click ‘Create a new project’.
 Select ‘Empty Project’ and click Next.
 Enter an appropriate project name. Click ‘Create’. A folder of the project name will be added
under the repos folder.
 In the Solution Explorer, right click ‘Source Files’, choose ‘Add’ and ‘New item’ to add a new
item.
 Select ‘Visual C++’ and ‘C++ File(.cpp)’. Change the file extension from .cpp to .c (for example
from Source.cpp to Source.c or HelloWorld.c), and then click ‘Add’. A blank file will be created.
 Enter the following source program into the editor area.
 Choose ‘Build’ and then ‘Build HelloWorld’ to create the executable file.
 If there are any syntax errors in the source program, the error messages will be displayed in the
Output window. If that happens, fix the source program to remove the error messages, until
there is no more error.
 Start the Command Prompt window, use cd commands to change the current directory to
where the executable is located (say, c:\users\andrew\source\repos\HelloWorld\Debug).
NOTE: If your default directory is not the c: drive, enter ‘c:’ to move to that drive.
 Enter the name of the executable file to run that program.