Introduction
In this lab, you will learn how to create a program to find the sum of n integers using an array. You will use C programming language to create the program.
Note: You need to create the file
~/project/main.c
yourself to practice coding and learn how to compile and run it using gcc.
cd ~/project
## create main.c
touch main.c
## compile main.c
gcc main.c -o main
## run main
./main