Find Key:
You are provided with 3 numbers input1, input2 and input3. Each of these are four digit numbers within the range >=1000 and <-9999.
i.e.
1000 <=input1 <= 9999
1000
1000 <=input3 <= 9999
You are expected to find the Key using the below formula -
Key = (Hundreds digit of input1 x Tens digit of input2) x (Largest digit of input3) For e..g. if input1 = 3521, input2-2452, input3-1352, then Key = (5 x 5) x 5 = 125
Assuming that the 3 numbers are passed to the given function, Complete the function to find and return the Key.
Answers
Answered by
0
Answer:
1000 <= input2 <= 9999. 1000 <= input3 <= 9999. You are expected to find the Key using the below formula - Key = [largest digit in the thousands place of all three numbers] [largest digit in.
Similar questions