Skip to content

file of "Max of three" is not there #1

Open
@ganeshgupta

Description

@ganeshgupta

https://github.com/ProgrammingHero1/100-plus-python-coding-problems-with-solutions/blob/master/Number-Related/User-input-to-Number.md

finding max among three numbers

a, b, c = input("Enter three Number").split()
if a > b:
if a > c:
print(a, "is Greatest")
elif b < c:
print(c, "is Greatest")
if b > c:
print(b, "is Greatest")
else:
print(c, "is Greatest")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions