Write scanf() function to read data 45.2
Answers
Answered by
1
Answer:
In C programming language, scanf () function is used to read character, string, numeric data from keyboard Consider below example program where user enters a character. This value is assigned to the variable “ch” and then displayed. Then, user enters a string and this value is assigned to the variable “str” and then displayed.
Similar questions