1.
scanf("%d", &age);
- Correct
scanf("%d", age);
- Not quite. Try again!
scanf("%age", &d);
- Not quite. Try again!
scanf("&age");
- Not quite. Try again!
What is the correct way to have the user input an integer and store it in the variable age?
Feel free to use the window below to try out some commands.