Which is the valid statement in C?

1.2 Which is the valid statement in C?
A) #define half(x) ((x)/2.0)
B) #define STREQ(s1,s2) (strcmp((s1),(s2))==0);
C) #define MAX = 5
D) #define INTEREST 5, LOAN 5000

Write a function that will compute

b) Write a function that will compute
Y = X^n
Where Y and X are floating point numbers and n is an integer number. Use this function
and print the output
X n Y
… … …
Check for possible exceptions that may occur during computations with regard to the
magnitude of computed values.

Develop loops using

a) Develop loops using
i) While statement
ii) Do-while statement
iii) For statement
that will calculate the sum of every third integer, beginning with k=2 for all values of
k <= 100.