P19.c

Uploaded project 19 using a formula, rather than if/else loops.