import java.lang.*;

class Square

public static void main(String args[])

float s=2.3f,area,peri;
System.out.println(“Side of the square : “+s);

System.out.println(“Area of the square : “+area);
System.out.println(“Perimeter of the square : “+peri);

46,792 total views, 30 views today

Get Free Email Updates..!
Join us for FREE to get instant email updates..! GobsInfo- Everything Unlimited
We hate spam. Your email address will not be sold or shared with anyone else.

2,213 Thoughts to “Java Program To Find Area And Perimeter Of Square”

  1. It’s in point of fact a great and helpful piece of info. I’m happy that you simply shared this useful info with us. Please keep us informed like this. Thank you for sharing.|

  2. I think more writers should write with desire like you.
    Even informational articles like this can have character.
    That’s what you have injected in this helpful article.
    Your perspectives are very unique.

Leave a Comment