so I have a task for an online course (in which the forums are no longer active) where i have to find the ratio of letters (C and G) in a string.
I've marked where i'm getting an out of bounds error...