Question: How can I apply loop to solve this question?Thanks Exercise 4.4 Sum and Max Write a program to use a while loop to read the
How can I apply loop to solve this question?Thanks

Exercise 4.4 Sum and Max Write a program to use a while loop to read the numbers from the user repeatedly until hefshe inputs 0. Then report the sum of these numbers and the maximum value among them. You can expect all test oases contain at least one positive number. Note: You don't need to store all the numbers. Expected Output Sum=5 Sum= Max
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
