'Calculate area and perimeter using methods in java [closed]
enter image description hereWhy I'm not getting the results properly? I have to calculate area and perimeters implementing methods.
Solution 1:[1]
Just remove this line int length, breadth;
and replace length and breadth variables with a and b
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Aditya Arora |
