9 Write Program Asks User Input Set Positive Integers 1 Entered Prints Sum Even Inputs 10 Q37024909

c++ thx9 Write a program that asks the user to input a set of positive integers until -1 is entered, and then prints the sum of all

9 Write a program that asks the user to input a set of positive integers until -1 is entered, and then prints the sum of all the even inputs. (10 marks) Sample input and output: Please enter positive integer: 1 Sum of even inputs: O Please enter positive integer: 2 Please enter positive integer: 4 Please enter positive integer: 6 Please enter positive integer: 8 Please enter positive integer: 10

OR
OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.