চ্যালেঞ্জ
ক্রিসমাসের 12 দিনের প্রতিটিটিতে, "ক্রিসমাসের 12 দিন" এর যথাযথ শ্লোকটি আউটপুট দিন, অন্যথায় "আই উইশ ইট ক্রিসমাসের প্রতিদিন হতে পারে" এর কোরাস আউটপুট দিন।
শীর্ষস্থানীয় এবং / অথবা পিছনে থাকা নিউলাইনগুলি ( \n
) এবং পিছনের স্থানগুলি অনুমোদিত। আপনি কোনও বাহ্যিক উত্স থেকে পড়তে পারেন না।
মূলত আপনাকে যা করতে হবে তা হল সিস্টেমের তারিখটি পড়ুন এবং "ক্রিসমাসের 12 দিন" অনুসারে আয়াতটি আউটপুট করুন।
বড়দিনের 12 দিন
বড়দিনের দ্বাদশ দিন হল খ্রিস্টীয় মরসুম, ক্রিসমাস দিবস (25 ডিসেম্বর) থেকে শুরু হয়ে 5 জানুয়ারিতে শেষ হয়।
উদাহরণ
তারিখটি 25 শে ডিসেম্বর হলে (সংক্ষিপ্ত / প্রথম আয়াতটি মুদ্রণ করুন):
On the first day of Christmas
my true love sent to me:
a Partridge in a Pear Tree
তারিখটি যদি 31 ডিসেম্বর হয় (সপ্তম আয়াতটি মুদ্রণ করুন):
On the seventh day of Christmas
my true love sent to me:
7 Swans a Swimming
6 Geese a Laying
5 Golden Rings
4 Calling Birds
3 French Hens
2 Turtle Doves
and a Partridge in a Pear Tree
তারিখটি যদি 5 জানুয়ারী হয় (দীর্ঘতম / শেষ / 12 তম আয়াতটি মুদ্রণ করুন):
On the twelth day of Christmas
my true love sent to me:
12 Drummers Drumming
11 Pipers Piping
10 Lords a Leaping
9 Ladies Dancing
8 Maids a Milking
7 Swans a Swimming
6 Geese a Laying
5 Golden Rings
4 Calling Birds
3 French Hens
2 Turtle Doves
and a Partridge in a Pear Tree
তারিখটি 25 শে ডিসেম্বর থেকে 5 জানুয়ারির মধ্যে অন্তর্ভুক্ত নয়:
Well I wish it could be Christmas every day
When the kids start singing and the band begins to play
Oh I wish it could be Christmas every day
So let the bells ring out for Christmas