Question 2
Write a method Met which takes as parameters 2 integers: l and b. l denotes the length of a rectangle. b denotes its breadth.
You have to print the perimeter and area of the rectangle, respectively.
Only write the method - assume that the Main class & main method have been defined.
-
Example input: 10 2
Example output: 24 20
Example input: 5 6
Example output: 22 30
Answers
Answered by
0
Answer:
Answer:
sorry don't know
Explanation:
but mark as Brainliest answer
Similar questions