scanf():
scanf() is a predefined function in "stdio.h" header file. It can be used to read the input value from the keyword we can enter our own values from the keyboard
#include <stdio.h> #include <conio.h> int main() { int a; float b; printf("Enter any two numbers: "); scanf("%d %f",&a,&b); printf("%d %f",a,b); }