If you want to write a program in C, you need to:
1. Use an editor of your preference, and create a .c file (.e.g. my_program.c )
2. Write your program and save the file.
3. being in the directory where your .c program is type:
gcc -o my_program my_program.c
4. you need to make the program exacutable:
5. run the program: