Find the product of 4 integers entered by a user. If user enters “0” skip it

Find the product of 4 integers entered by a user. If user enters “0” skip it

Input:

4 2 0 2

Output:

The product of numbers entered by you except '0' is 16

Implementation: