I have faced an issue while creating a program where if user input would 'Y' or 'y' the program would start again using goto statement but while running the code I found my compiler is ignore or what that scanf line which allows to take input of the character is not accepting any input sorry if my question is wrong but I am pretty new c programing
#include <stdio.h>
int main()
{
    int num1, num2;
    char looping;
AGAIN:
    printf("ENTER FIRST NUMBER FOR ADDITION\n");
    scanf("%d", &num1);
    printf("ENTER SECOND NUMBER FOR ADDITION\n");
    scanf("%d", &num2);
    printf("ADDITION OF TWO NUMBERS IS %d\n", num1 + num2);
    printf("DO YOU WANT TO RUN LOOP AGAIN ?\nENTER Y FOR YES AND N FOR NO\n");
    scanf("%c", &looping);
    if (looping == 'Y' || looping == 'y')
    {
        goto AGAIN;
    }
    else
    {
        goto EXIT;
    }
EXIT:
    printf("EXITING");
    return 0;
}