Jiongeze Tournament Age Ranking Program

Problem Statement: Somasoma, a programmer at CIVE, wrote a program that accepts age of any entered number of attendees at Jiongeze tournament. The program calculates the average age of attendees and ranks the average into “Young Team” or “Elder Team”. Finally, the program prints the rank of the average age.

NOTE:

  • The ranking criteria is average age between 18-30 implies young team; and above 30 implies elder team.
  • Mr. Somasoma organized the program into four functions:
    • Function capture, receives input from user. This function is called from the main function.
    • Function rank, ranks the average score and returns the rank to the main function
    • Function print, receive the rank value and display to the user.