scanf("%d/%d%c%d/%d", &num1, &denom1, &sign, &num2, &denom2); This statement keeps on scanning for user input at the console, no matter how ma