C program in scanf() function is simple function to use for take user input.
#include<stdio.h>
int main()
{
int a;
printf("please enter an integer number : ");
//Here use to scanf function to scan an integer to used %d
scanf("%d" , &a);
printf("Enter Number is %d",a);
return 0;
}
0 Comments