write a Java program to find the area of a square . ( type your program under my question only )
Answers
Answered by
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
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