WAP to find area of square
Answers
Answered by
2
JAVA PROGRAM
public class area
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
System.out.println("Enter the side of square:");
int side=school.nextInt();
Area=side×side;
System.out.println("Area of square="+Area);
}
}
HOPE THIS ANSWER WILL HELP YOU!!
Answered by
2
Answer:
This is a python program
length = float(input("Enter length of the square: "))
breath = float(input("Enter breadth of the square: "))
print("Area of the square = ", length*breadth)
# HOPE THIS HELPS YOU!!
Similar questions
Social Sciences,
3 months ago
Hindi,
3 months ago
Science,
3 months ago
Math,
7 months ago
Math,
7 months ago
Physics,
11 months ago
Math,
11 months ago
Environmental Sciences,
11 months ago