问答题
#include"stdio.h" #defineTRUE 1 #defineFALSE 0 #define SQ(x)(x)*(x) voidmain() { intnum; int again=1; printf("Program will stop if input value less than 50.\n"); while(again) { printf("Please input number==>"); scanf("/%d",&num): printf("The square for this number is/%d\n",SQ(num)); if(num>=50) again=TRUE; else again=FALSE; }
【正确答案】输出结果如下。 Program will stop if input value less than 50. Please input number==>9↙ The square for this number is 81 Please input numbe==>3↙ The square for this number is 9