Wap to find perimeter of two no
Answers
Answered by
0
Answer:
Easy You will get the process
Explanation:
in rectangle the formula of perimeter is 2(l+b)
in square the formula of perimeter is 4*sides
in triangle it is side + side + side
Actually perimeter means the sum of all the sides
Feeling Happy to answer
Answered by
40
Here is your answer.
class x
{
static void main(int len,int wid)
{
int p=2*(len+wid);
System.out.println("Perimeter: "+p);
}
}
Similar questions