Get the answers you need at Westonci.ca, where our expert community is dedicated to providing you with accurate information. Connect with professionals ready to provide precise answers to your questions on our comprehensive Q&A platform. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.

9.7 Lab 09 - Part 2: Calculate Product
For this lab, write a function calc_Prod, that takes an integer (n) as its parameter and calculates/prints the product 1•2•…•n. Print both the formula and the product in the function.

Your main code should accept a positive integer and call the function with that integer. The function should do everything else.

For example: If the input is: