#include<stdio.h>
extern "C" {
int addnum(int a, int b, int c);
}
void setup() {
}
void loop() {
int a, b, c;
int result;
printf("Enter three numbers separated by spaces: \n");
scanf("%d %d %d", &a, &b, &c);
printf("a = %d, b = %d, c = %d\n",a,b,c);
result = addnum(a, b, c);
printf("RESULT: %d\n",result);
}