Coding Practice Problems for C++
zyBooks 2017

Table of Contents

1. Welcome: Start Here
1.1 Welcome

2. Variables/Assignments
2.1 Expressions*: Simple floating-point expression
2.2 Expressions*: Distance formula
2.3 Anonymous survey

3. Branches
3.1 Branches**: Complex cost structure
3.2 Branches*: Shape display
3.3 Branches**: Caption punctuation
3.4 Branches*: Guitar tabs
3.5 Branches**: 24-hour time
3.6 Branches**: Next date
3.7 Branches**: Runway headings
3.8 Branches*: Listing names
3.9 Branches***: Next license plate number
3.10 Anonymous survey

4. Loops
4.1 Loops (for)*: Output sequence
4.2 Loops (for)*: Output evens
4.3 Loops (while)**: Output rocket height
4.4 Loops (while)**: Compute modified average
4.5 Loops (nested)**: Sum a given number of integers
4.6 Loops**: Output integer’s digits
4.7 Loops**: Removing leading/trailing whitespace
4.8 Loops*: Password requirements
4.9 Loops (nested)**: HTML table
4.10 Loops*: Output integers as comma-separated list
4.11 Loops**: Customer lookup
4.12 Loops**: Word count
4.13 Loops**: Academic index score table
4.14 Loops**: TV aspect ratios
4.15 Loops*: Biggest difference
4.16 Loops*: Check if sorted
4.17 Anonymous survey

5. Arrays
5.1 Vectors*: Find max
5.2 Vectors*: Outputting multiple elements per line
5.3 Vectors*: Copying only negative values
5.4 Vectors**: Binary to decimal conversion
5.5 Vectors***: Bowling score
5.6 Vectors**: Min, max, average
5.7 Vectors**: Mode
5.8 Vectors***: Grouping into ranges
5.9 Vectors**: Longest sequence
5.10 Vectors**: Reverse in place
5.11 Anonymous survey
6. User-Defined Functions
6.1 Functions**: Compute max
6.2 Functions**: Sort three values
6.3 Functions*: Calorie estimator
6.4 Functions**: Rideshare pickup time
6.5 Functions**: User age
6.6 Functions**: Simulating waiting time (fast clerk)
6.7 Functions**: Number to words
6.8 Functions**: Driving cost estimator
6.9 Function*: Split cents into dollars and cents
6.10 Functions*: Rectangles sizes
6.11 Functions***: Electric bill
6.12 Functions*: Digits to number
6.13 Functions***: Commas in integer
6.14 Functions**: Next char in string
6.15 Functions***: Find next substring
6.16 Functions***: Output guitar tabs
6.17 Functions*: Rotate three values