Experienced programmers reach for a small set of reusable loop patterns to solve most repetition problems. You'll practice searching and aggregating data, constructing new collections from old ones, and nesting loops to process grids and tables the way real data-handling code does.
Overview
Syllabus
- Unit 1: Essential Loop Patterns
- Track the Highest Daily Sale
- Track the Lowest Sale Too
- Locate the First Big Sale
- Count the Above Average Days
- Unit 2: Building Lists with Loops
- Build the Retail Price List
- Shortlist the Budget Prices
- Add Uppercase Category Labels
- Add Clearance Prices to the Report
- Unit 3: Mastering Nested Loops
- Build the Sandwich Menu Pairings
- Report the Sandwich Pairing Total
- Print the Times Table Grid
- Label Every Inner Loop Pass
- Unit 4: Working With Grid Data
- Total Every Cell in the Grid
- Print the Sales Grid Aligned
- Add Weekly Totals to the Report
- Find the Best Sales Day