Chemistry, asked by abhiram7718, 4 months ago

3. Write a program in Java to calculate area of square.

(Hint: area= side*side)

Answers

Answered by sakshamnrp2000
1

Answer:

Java Program

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 abcd12360
1

please mark me as brainlist and thanks me

Attachments:
Similar questions