This program uses Openmp for perform parallel programming
To compile this code
1.run command
gcc -g main.c -fopenmp
2.now use "set" for windows or "export" for linux and excute thread command
set OMP_NUM_THREADS=2
3.execute the executable file created in file
a.exe