0
why it is not accepting scanf value
2 Answers
+ 3
Where is the code so we can know what you are talking about?
+ 1
Either it is a syntax error or invalid input. Based on what you exhibit in the question it is a syntax error. The scanf statement shown here is missing its parentheses, format specifier, variable argument, and terminating semicolon.
If it still causes an error after those are in place and input is valid, then it is a mismatched data type between format specifier and variable argument.