implement product.c with the following specifications: the program will accept a single command line argument representing the path to a text file containing the values of these integers. there will be one integer per line. the values of the integers will be between 1 and 20. there will be ten lines. the program will read these ten integers from the text file in part a into an array of integers. the program will print out the sum of these intergers on one line. the program will print out the product of these integers on the next line.

Respuesta :

The program will accept a single command line argument representing the path to a text file containing the values of these integers.

Zero, a positive natural number, or a negative integer denoted by a minus sign are all examples of integers. The inverse additives of the equivalent positive numbers are the negative numbers. Because they don't support decimal points, integers are numbers without a fractional component. These various sorts of integers are defined by certain computer languages but not by others.

num = int(input("Please type in a number:"))

n=0

while num>n:

   a = num%10

   num -= a

   num = num/10

   print(a)

   n = n + 1  

print(n)

Learn more about integers here-

https://brainly.com/question/15276410

#SPJ4