Find Key
You are provided with a number
3 op, per
Each of these are four digit numbers within
1000 <= Input1 = 9999
1000 c= input2 <= 9999
1000 c= 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
input1 = 3521, input2=2452, input3=1352, then Key = (5x5)
Assuming that the 3 numbers are passed to the given function
and return the Key.
Answers
Answered by
0
Answer:
The smallest 1-digit number is 1.
The greatest 1-digit number is 9.
Therefore, 9 - 1 = 8 and 8 + 1 = 9
So, we say that we have 9 one-digit numbers.
(b) The smallest 2-digit number =10.
The greatest 2-digit number = 99.
Therefore 99 - 10 = 89 and 89 + 1 = 90
Similar questions