Write a program to take length of a side of the square from user and print the area of a square
Answers
Answered by
0
Answer:
Explanation:
public class square
{
public static void main( int a)
{
System.out.println("Length of the square="+ a);
int area=-a*a;
System.out.println("Area of the square="+area);
}
}
Similar questions