c-course/c-basic/scanf_example_02.c

16 lines
203 B
C

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