program to calculate perimeter of rectangle

 class perimeter

{

public static void main(String args[])

{

 int peri, length, breadth;

 length=10;

breadth=29;

peri=2*(breadth+length);

System.out.println(peri);

}}

Comments

Post a Comment

Popular posts from this blog