Computer Science, asked by SAIRAJEEVTULLURI, 2 months ago

Question 3
Write a method Met which takes as parameters 3 integers a, b, and c. If the numbers are all different from each other, the result is -10. If all of the numbers are the same, the result is -20. If two of the numbers are the same, the result is 50 .
You have to print the result.
Only write the method - assume that the Main class & main method have been defined.
Example Input: 25 20 30
Output: -10
Example Input: 222
&
Output: -20
Example Input: 50-1-1
Output: 50​

Answers

Answered by maliksand3
0

Answer:

sorry don't know

Explanation:

but mark as Brainliest answer

Similar questions