Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Specification for Program (Stage 1)
- Inputs
- • Judges scores (0-10) - Integer
- Processes
- • Import data of 5 finalists and their countries from file
- • Find Maximum value of Judges score to each diver and void it
- • Find Minimum value of Judges score to each diver and void it
- • Total remaining values and use Maximum program to find the champion
- • Use of multiple arrays(i.e. divers, countries, Judges ect)
- • Passing parameters
- • Input validation for Judge score
- • Unconditional loop(0-4, conjunction with arrays)
- Outputs
- • Finalist champion their name, country and final score
- Assumptions
- • No assumptions
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement