C++ Program to Calculate Product and Sum of all Elements in an Array

OUTPUT