Write a program that repeatedly collects positive integers


Write a program that repeatedly collects positive integers from the user, stopping when the user enters a negative number or zero. After that, output the product of all positive entries. A sample run should appear on the screen like the text below.

Solution Preview :

Prepared by a verified Expert
Macroeconomics: Write a program that repeatedly collects positive integers
Reference No:- TGS01595872

Now Priced at $10 (50% Discount)

Recommended (90%)

Rated (4.3/5)