নিম্নলিখিত বছরগুলির মধ্যে কোন বছরটি লিপিয়ার?

A    ২০০০

B    ১৮০০

C    ১৪০০

D    ১৭০০

Solution

Correct Answer: Option A

কোন বছর অধিবর্ষ কিনা তা বের করার প্রোগ্রামিং সংকেতের সারসংক্ষেপ নিচে দেওয়া হল :-

if year is divisible by 400 then
   is_leap_year
else if year is divisible by 100 then
   not_leap_year
else if year is divisible by 4 then
   is_leap_year
else
   not_leap_year

Practice More Questions on Our App!

Download our app for free and access thousands of MCQ questions with detailed solutions