a compiled program of java to find area of square
Answers
Answered by
0
import java.util.Scanner;
public class AreaOfSquare {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.println("Enter the side value : ");
int a = in.nextInt();
System.out.println("Area of square is : " + (a*a));
}
}
Similar questions
English,
7 months ago
English,
7 months ago
Social Sciences,
1 year ago
Math,
1 year ago
English,
1 year ago