Question 2 (Lab 3.1.1.12) Write a code to determine if a year is a leap or a common year, use the following rules: 1- If

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Question 2 (Lab 3.1.1.12) Write a code to determine if a year is a leap or a common year, use the following rules: 1- If

Post by answerhappygod »

Question 2 Lab 3 1 1 12 Write A Code To Determine If A Year Is A Leap Or A Common Year Use The Following Rules 1 If 1
Question 2 Lab 3 1 1 12 Write A Code To Determine If A Year Is A Leap Or A Common Year Use The Following Rules 1 If 1 (26.52 KiB) Viewed 22 times
python Institute
Question 2 (Lab 3.1.1.12) Write a code to determine if a year is a leap or a common year, use the following rules: 1- If the entered year is before year 1582, show the message "Not within the Gregorian calendar" ), then exit the program. 2- If the year number isn't divisible by four, it's a common year; 3- otherwise, if the year number isn't divisible by 100, it's a leap year; 4- otherwise, if the year number isn't divisible by 400, it's a common year; 5- otherwise, it's a leap year. You code ***** Pago
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply