Computer Science, asked by pr803836, 8 months ago

write a Java program to find the area of a square . ( type your program under my question only )​

Answers

Answered by Anonymous
0

#wap to print the area of the square with side length 13 cm.

public class shpere{

public static void main(String args[])

{

int s=13;

int area_square=s*s;

System.out.println("Area of the square="+area_square);

}

}

.

Answered by praveshdas42
0

Answer:

class Area_Square

{

public static void main (int side)

{

int area= 0;

area = side*side;

System.out.println("The area of square is =" + area );

}

}

Similar questions