You are not connected. Please login or register

View previous topic View next topic Go down  Message [Page 1 of 1]

1 Average on 7/7/2013, 8:41 am



how do I Create an assignment that defines and uses at least three functions to figure the average score from several entered test scores. Your script should also figure out the highest and lowest score entered. More details: Your script should use a loop to allow the user to enter an arbitrary number of scores. You should provide a "sentinel value" that the user can enter to signify that he or she has finished entering scores (an example sentinel value for this exercise might be -1 or x). Your loop should accumulate the scores and keep track of the number of scores entered (in order to figure the average). These values, as well as the highest and lowest scores, should be displayed at the end of processing.

View user profile

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum