Introduction
Exponential calculation is a very common requirement in many mathematical applications. In C programming, we can calculate exponentials using the pow()
function. However, sometimes we might need to find the exponential of a number manually without using the pow()
function. In this lab, we will go through the steps to find the exponential of a number without using the pow()
function in C programming.
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