Input a list of peoples ages from the user (terminated by 0) and find the average age.

Question:

Input a list of people’s ages from the user (terminated by 0) and find the average age. Be sure to check that the user enters only positive numbers.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Prelude To Programming

ISBN: 9780133741636

6th Edition

Authors: Stewart Venit, Elizabeth Drake

Question Posted: