I have this code
#include <stdio.h>
int addthree(int x);
int main()
{ int num; int d = 0;
printf("enter ur num");
scanf("%d", &num);
d = addthree(num);
return 0;
}
int addthree(int x)
{
int s = 0;
s = x +3;
return s;
}
Okey I want this code in different way. I want it in three files. A Header file lucky.h which defines prototype of addthree function
a file add-three.c which implement the addthree function
a file solution.c which included the program's main function