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
0
Answer:
sorry don't know
Explanation:
but mark as Brainliest answer
Similar questions
Computer Science,
1 month ago
Math,
1 month ago
Social Sciences,
2 months ago
Political Science,
2 months ago
Hindi,
9 months ago