Computer Science, asked by nirajrocki7847, 8 months ago

Write scanf() function to read data 45.2

Answers

Answered by samarthpawar48
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