Then, you don't need that input field!
⟹ Make sure order of format and variable data types match up.
Go through the lesson again, you'll better understand and use Daljeet Singh 's advice!
If you need help you can post the code you are struggling with!
• SEARCH for similar QUESTIONS or ANSWERS before posting
• Include relevant TAGS
You should correct the scanf() function for floating data type: %f
scanf("%2d %d %*f %5s", &x, &y, text);
• A format specifier can include several options along with a conversion character:
⟹ The optional * will skip the input field!!
Krishna Kumar read about format specifiers here :
in your code you are using %d instead use %s
// try inserting code by clicking @ "insert code"
//it also has greater format specifiers(3) as compared to lesser variables (2) but it gives output! Here x and y are also integer type.