c-course/c-basic/scanf_example_01.c

14 lines
162 B
C

#include <stdio.h>
int main()
{
int a;
int b;
printf("Enter two numbers:\n");
scanf("%d%d", &a, &b);
printf("a = %d, b = %d\n", a, b);
return 0;
}