Assignment 3 (Strings and Math)
Coding Bat practice
Do these exercises on Coding Bat Warmup 1.
- nearHundred
- missingChar
- backAround
- startHi
- hasTeen
- mixStart
- close10
- monkeyTrouble
- loneTeen
- notString
Choose two of the above Coding Bat exercises involving the String class, and implement fully with at least 3 unit tests each.
Coding Exercises
Note: Quiz #3 will consist of writing functions involving Strings, including complete function declarations.
Reading
-
Look at the online docs for the
String
class (i.e. look at the intro, and skim down the list of functions to see what's available, find the functions we use in class). -
Look at the online docs for the
Math
class