私は C コードで C の Code::Blocks を使用しており、いくつかのエラーがあります..
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define SQRT(num) \
((num>0) ?\
(sqrt(num)): \
(printf("the number is negative")))
int main() {
printf("The file %s is executeD \n", _FILE_);
printf("the sqrt of number %d is %f \n",8,SQRT(8));
printf("the sqrt of number %d is %f \n",9,SQRT(9));
printf("the sqrt of number %d is %f \n",-9,SQRT(-9));
return 0;
}