#include #define TRIAL_VERSION 1 #ifdef TRIAL_VERSION void calculate(int a,int b) { printf("Ez csak próbaverzió! Az összes funkció eléréséhez fizess!\n"); } #else void calculate(int a,int b) { printf("%d és %d számtani közepe : %f\n",a,b,(float)a/2 + (float)b/2); } #endif int main() { calculate(10,20); return 0; }