Computer Science, asked by reddy1278, 9 months ago


Question
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 <= input2 <= 9999
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 harman9751
0

he'll my name is Harmanpreet kaur I am in 5th B class

Similar questions