Write a program which asks the user to enter the name and age of persons in his group.

a) Write a program which asks the user to enter the name and age of persons in his group.
The number of persons is not known to the user in the beginning of the program. The user
keeps on entering the data till the user enters the age as zero. The program finally prints the
average age.

Leave a Reply