Posts by Siemens Inspiro • 1 point
1 post
-
0
votes1
answer396
viewsQ: How to calculate the factorial of a list of integers using thread?
Given an A vector of size N with only positive integers, calculate the factorial of each of them and store the result in a vector B. To calculate the factorial, use the following function: def…