How should you complete the code?

DRAG DROP
You are creating a Touch Develop app that determines whether a given year is a leap year.
You are given the following leap year requirements:
• A year is a leap year if it is divisible by 4 but not by 100. If the year is divisible by 4 and by 100, it is not a leap year unless it is also divisible by 400.
• You need to write the code to accept a year as user input and output whether it is a leap year to the wall.
How should you complete the code? To answer, drag the appropriate code segment to the correct location. Each code segment must be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Select and Place:

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.