Get the answers you need at Westonci.ca, where our expert community is always ready to help with accurate information. Join our platform to connect with experts ready to provide detailed answers to your questions in various areas. Explore comprehensive solutions to your questions from knowledgeable professionals across various fields on our platform.
Sagot :
Answer:
num1 = float(input("Enter first digit of number: "))
num2 = float(input("Enter second digit of number: "))
num3 = float(input("Enter third digit of number: "))
if (num1 > num2) and (num1 > num3):
largest = num1
num_sqrt = num1 ** 0.5
elif (num2 > num1) and (num2 > num3):
largest = num2
num_sqrt = num2 ** 0.5
else:
largest = num3
num_sqrt = num3 ** 0.5
print("The square root of largest digit of the three digit number is",num_sqrt)
Explanation:
num1 = float(input("Enter first digit of number: "))
num2 = float(input("Enter second digit of number: "))
num3 = float(input("Enter third digit of number: "))
if (num1 > num2) and (num1 > num3):
largest = num1
num_sqrt = num1 ** 0.5
elif (num2 > num1) and (num2 > num3):
largest = num2
num_sqrt = num2 ** 0.5
else:
largest = num3
num_sqrt = num3 ** 0.5
print("The square root of largest digit of the three digit number is",num_sqrt)
Thanks for using our platform. We're always here to provide accurate and up-to-date answers to all your queries. We hope our answers were useful. Return anytime for more information and answers to any other questions you have. Westonci.ca is here to provide the answers you seek. Return often for more expert solutions.