I am getting a segmentation fault in my C code when trying to read integer input from the user with the following functon:
int userChoice = 0, tS; float tR,
scanf("%d", userChoice);
=〉
scanf("%d", &userChoice);