Multithreading

This is a simple multithreaded program.

HOW TO RUN: On the directory where “main.cpp” resides write following shell code:

g++ -pthread main.cpp -std=c++11

It will create an executable named “a.out”.

Execute it with :

./a.out <integer value between 50 and 100>