scanf example
This commit is contained in:
parent
6b0ac54b46
commit
1d24d8b71c
12
c-basic/scanf_example.c
Normal file
12
c-basic/scanf_example.c
Normal file
@ -0,0 +1,12 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
int a;
|
||||
|
||||
printf("enter the a number:");
|
||||
scanf("%d", &a);
|
||||
printf("a number is : %d\n", a);
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user