Introduction
In this lab, we will learn to write a C program to check whether a number is a palindrome or not. We will accomplish this by following the given steps.
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