I will use 0b to refer to binary numbers: ex: 0b1 = 1, 0b10 = 2
0b100 = 4 and 0b11 = 3
4+3 = 7
convert 7 to binary and you get 111.
Hope this helps, and May the Force Be With You!
<span>-Jabba</span>
An instance in my life where I rendered services was when I worked in a grocery store.
The roles of entrepreneur include:
- Allocating employees duties.
- Improving standard of living.
- Taking risks.
The three challenges that a young entrepreneur faces today include:
- Financial instability.
- Conflicts with education.
- Lack of business skills.
The top three characteristics of an entrepreneur include:
- Innovation.
- Confidence
- Risk taking
<h3>Who's an entrepreneur?</h3>
It should be noted that a entrepreneur is an individual who owns business and take risks.
The roles of entrepreneur include allocating employees duties, improving standard of living, and taking risks
Learn more about entrepreneur on:
brainly.com/question/353543
#SPJ1
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.