Answer:
year = int(input("Enter a year: "))
if (year % 4) == 0:
if (year % 100) == 0:
if (year % 400) == 0:
print(str(year) + " - leap year")
else:
print(str(year) +" - not a leap year")
else:
print(str(year) + " - leap year")
else:
print(str(year) + "- not a leap year")
Explanation:
*The code is in Python.
Ask the user to enter a year
Check if the <u>year mod 4</u> is 0 or not. If it is not 0, then the year is not a leap year. If it is 0 and if the <u>year mod 100</u> is not 0, then the year is a leap year. If the <u>year mod 100</u> is 0, also check if the <u>year mod 400</u> is 0 or not. If it is 0, then the year is a leap year. Otherwise, the year is not a leap year.
Answer:
i have no idea what the answer is
Explanation:
I’m so confused on this but hey here’s this
Answer:
invention such as new tool devices progress and resistance benefits to society inventions selfie lies and provide new way to build move communicate heal learn and play
Answer:
Option D. writing code for a software program
Explanation:
One important task in programming and software development is to write code for a software program. Writing code is an activity that involves writing commands that can be understood by computer to perform certain task. There are many programming languages that can be chosen by a programmer to write their code. The choice of language is dependent on the purpose of the program itself and it can be also the self-preference or computing background of that programmer.