Hi people in the coding community. I really need some help. How would you suggest that I add a Fgets function to this code? Thanks.
// I decided to make a storyboard. If you don't know what that is, It's a story that let's you makes choices, and changes based on your choices.
    
#include <stdio.h>
int main(void) 
{
    char characterName[100];
    int aa;
    printf("Hello. This code will write a story, based on your choice.\n");
    printf("What is the name of your character?\n");
    scanf("%s",characterName);
    printf("Your name is %s",characterName);
    printf("\n");
    printf("One day, while walking through a forest, you encounter a mysterious, entrancing portal. Do you enter it %s", characterName);
    printf("?\n");
    printf("Enter Number 1 to Stay, Number 2 for Entering it.\n");
    scanf("%i",&aa);
    if (aa == 1)
    {
        printf("You chose to stay. END OF STORY.");
    }
    else if (aa == 2)  
    {
        printf("You step towards the bright, purple portal.\n It looks like a swirly mirror. You are entranced as you step forward, step after step. Adventures await you.");
    }
    return 0;
}
 
     
    