← Barclays questions
CodingReported in a candidate post, Jul 2025

Write a program to find the greater of two dates

Filed under Barclays

Write a program that finds the later of two dates using plain conditional logic and no library date functions. Assume both dates are valid and given as day, month and year.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Barclays questions

Collected from public candidate posts and coding forums. Updated Nov 2026.