Introduction
In this lab, we will learn how to write a C Program to find the average of n numbers. We will use a loop to input n numbers from the user and then find the average of the entered numbers.
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