DESCRIPTION: For this assignment, you need to create a threaded program
("assignment2_summation.cpp"). It performs a summation operation of randomly generated n integer
numbers with multi-threads.
When running the program, you need to measure execution times. For this, you must place the header
file ("hpc_helpers.hpp") in the same directory where your source code is located. With the header file, you
can measure computation time easily.
Task 1. Create a multi-threaded program.
Task 2. Run the program with different input numbers - 1000, 10000, and 100000 in three scenarios to
measure execution times;
Scenario 1. No threaded summation
Scenario 2. 10 multi-threaded threaded summation
Scenario 3. 100 multi-threaded summation