top of page

PROGRAMMING CHALLENGES

Month Days Finder

Difficulty:

3 Hard

1.3 Arithmetic and Random

Topic:

Write a program that lets the user enter a month number (1-12) and displays the month name along with the number of days it has. Account for leap years in February.

Use an array or dictionary to store month names and days, and use conditional statements to account for leap years.

Need help with your programming skills?

If you need more help than just independent practise, then we're here for you. Book a 1:1 with us and we will be able to guide you to becoming a proficient programmer who can tackle any of the challenges an exam board can throw at you.

bottom of page