Westonci.ca is the best place to get answers to your questions, provided by a community of experienced and knowledgeable experts. Get immediate and reliable solutions to your questions from a knowledgeable community of professionals on our platform. Get immediate and reliable solutions to your questions from a community of experienced professionals 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 stopping by. We are committed to providing the best answers for all your questions. See you again soon. Thanks for using our platform. We aim to provide accurate and up-to-date answers to all your queries. Come back soon. Westonci.ca is committed to providing accurate answers. Come back soon for more trustworthy information.