Update:
Since I have experience in coding C, I was able to finish the code right away.
I was supposed to use scanf but realized fgets to be the better option. As you can see, fgets is better because it performs bounds checking.
I used a do while loop so as long as the user does not type exit, the magic 8 ball code would run.
Instead of if else statements, I created a switch that will take a random number from 0-19. I have used the function srand to get the seed of the random number generator.