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:
Explanation:
It is called "Turban"
Sikhs wear the turban, to take care of the hair, promote equality, and preserve the Sikh identity
Answer:
=ROUND(G19, 0)
Explanation:
In Microsoft Excel you would need to click on cell B5 and then click the function bar at the top and paste the following formula
=ROUND(G19, 0)
This formula will grab whatever value is in cell G19 and round it to the nearest whole integer without any decimal places at all. This is handled by the ROUND() method which takes in two arguments, the first is the cell which has the value to be rounded, and the second argument is the number of decimal places to round to. 0 indicates no decimal places.