Write Code Competency

Write a program to input test scores until the user enters a 0.  For each test score entered, if the score is under 50, ask for and get that person’s name.  When you exit the loop, print the average of all even test scores, the highest odd test score, and the number of scores in the 80s.

Example run

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>