C6030-042 Web TestEngine demo

Exit VCEDump C6030-042 Developing with IBM Enterprise PL/I
Question 12 of 21
0% complete
Q12 Single choice

Requirement:
The function LEAPYEAR evaluates a given 4-digit number and returns `1'B if it is a leap year, `0'B if it is
not. This function is supposed to work for the years 2004 to 2015. Leap years occur every four years, except for years ending in 00 that are not divisible by 400. Which of the following solutions meets the requirement and does NOT need to be changed if the requirement changes to: The function is supposed to work for the years 1900 to 3000.

Sign in to mark questions

Sign in to save marked questions and return to this demo.

Sign in