Define a macro named IS_LEAP_YEAR(year) that determines whether year is a leap year or not.
Use it in a program that accepts the year from the keyboard and outputs an appropriate
message using a switch statement.
Write a program containing the DISPLAY_VAR macro which displays, say, area3 = 20 when
invoked as DISPLAY_VAR(area, 3). Accept three values from the keyboard into the variables
area1, area2 and area3 and use the macro to display their values.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here