CSC 1401 Homework #5 - Objective(s • increase knowledge...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CSC 1401 Homework #5 George J. Grevera, Ph.D. All work that is turned in must: Contain explicit acknowledgment if you received ANY sort of help (from students or other professors) Turn in a printed copy of your code and a printed copy of the output as follows: o The printed copies must be in the order listed in the homework o All papers MUST be stapled together, with your name on the first page Email me a zipped file of your code o Create a directory called yournameHW5 and copy ALL the necessary source files and input files to this directory. o Go to the parent directory and zip this directory using Winzip (or gzip under Unix) o Email the zip file to [email protected]
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Objective(s): • increase knowledge of loops • use a file for input • handle the end-of-file condition • select values from a file Assignment description: You did a survey of ages of people who voted in the last election. You keep the ages in a file. What is the min, max, and mean (average) voting age? For extra credit, what is the mean voting age if you don't include any of the min and max responses? (This is called the trimmed or truncated mean,, or the interquartile mean, Summary of what to submit: The program, 2 test input data files, and 2 test outputs....
View Full Document

Ask a homework question - tutors are online