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:
Nas ja kaki yawe diy. Kitu mu chuk k a jana a.
Explanation:
Karu explain pudi diya chal puter chuti kar.
Answer:
D. Identify the problem.
Explanation:
The five steps are -
- Understanding the problem
- Select any alternative way to solve a problem
- Select the best way to solve a problem from the list of alternative solutions.
- List the instructions to solve the problem using the selected solution and evaluate the solution .
Identify the problem - This is the first steps towards solving a given problem. One must properly comprehend what exactly the challenge is.
I have this same problem but I’m a senior.