diff --git a/ch03/Exercises/06.c b/ch03/Exercises/06.c index bf3b353..1934c7e 100644 --- a/ch03/Exercises/06.c +++ b/ch03/Exercises/06.c @@ -5,7 +5,7 @@ int main(void) int num1, denom1, num2, denom2, result_num, result_denom; printf("Enter first fraction: "); - scanf("%d /%d", &num1, &denom1); + scanf("%d /%d", &num1, &denom1); //alternatively: scanf("%d / %d", &num1, &denom1); printf("Enter second fraction: "); scanf("%d /%d", &num2, &denom2);