Computer Science, asked by rafin1603, 10 months ago

Wap to find perimeter of two no

Answers

Answered by Arc2428G
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 anindyaadhikari13
40

Here is your answer.

<hr/>

class x

{

static void main(int len,int wid)

{

int p=2*(len+wid);

System.out.println("Perimeter: "+p);

}

}

<hr/>

Similar questions
Math, 5 months ago