Introduction - If you have any usage issues, please Google them yourself
Title: Macro#define command exercise (1)
1. Program analysis:
2. Source Code:
Code is as follows:
#include stdio.h
#include conio.h
#define TRUE 1
#define FALSE 0
#define SQ (x) (x)* (x)
void main ()
{
int num
int again = 1
printf ( \ 40: Program will stop if input value less than 50. \ n )
while (again)
{
printf ( \ 40: Please input number ==> )
scanf ( d , & num)
printf ( \ 40: The square for this number is d \ n , SQ (num))
if (num> = 50)
again = TRUE
else
again = FALSE
}
getch ()
}