#include<stdio.h>
#include<stdlib.h>
extern "C"{
int get_smallest(int x,int y);
}
void setup() {
Serial1.begin(9600);
}
int main()
{
int x,y,smallest;
printf("Enter the first number");
scanf("%d",&x);
printf("%d\n",x);
printf("Enter the second number");
scanf("%d",&y);
printf("%d\n",y);
smallest=get_smallest(x,y);
printf("\nThe smaller number is: %d\n",smallest);
return 0;
}