["As much as I wanted to keep my A in computer science back in freshman year, it didn't work out and I got a B."]
That's not too bad. Computer science isn't easy by any standards.
I really wanted to keep my A in computer science back in freshman year. Although I really tried, I got a B and it made me a little upset but I was pretty happy either way.