CIS115_W6_iLab

# CIS115_W6_iLab - Name Courtney Proctor Week 6 iLabWinner of...

• Lab Report
• 7
• 100% (14) 14 out of 14 people found this document helpful

This preview shows pages 1–2. Sign up to view the full content.

Name: Courtney Proctor Week 6 iLab—Winner of the Chevy and Ford Racing Teams TCO 5 —Given a simple problem that requires iteration, create a solution algorithm that employs loops. TCO 6 —Given a simple problem that requires simple data structures, design, code, and test a solution algorithm that uses arrays. TCO 8 —Given a more complex problem, develop a complete solution that includes a comprehensive statement of the problem, complete program design, and program documentation. Scenario There are eight cars in each team called Chevy and Ford. One car from each team races its op- ponent on the drag strip. Read in the racing times for the eight Chevy cars and then read in the times for the eight Ford cars. Store the times into arrays called Chevy[ ] and Ford[ ]. Then list the winner of each pair, giving the number of seconds the winner won by. At the end declare which team won based on which team had the most wins. Below is a sample match.

This preview has intentionally blurred sections. Sign up to view the full version.

This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern