|
||||||||||
copyright © 2006 Don Southwell - All rights reserved |
|
||||||||||
copyright © 2006 Don Southwell - All rights reserved |
CST 180 - Function Lab 6 (Choose One) PART
A: Safest Driving
Area Program
Input Validation: Do not accept an accident number that is less than 0. Test Data:
You may want to use a main processing loop to enable multiple program runs. Have the user indicate when done by entering some value of your choosing. Submit:
PART B: Lower Score Drop Program Write a program that uses functions and calculates the average of a group of test scores, where the lowest score in the group is dropped. It should use the following functions:
Input Validation: Make sure test scores are between 0 and 100. Test Data:
Like before, you might want to incorporate a main processing loop to enable multiple runs. Submit:
|
! You are using a version 4 browser or older. If you are experiencing any problems with scrolling, please reload the page.