3. Write a program in Java to calculate area of square.
(Hint: area= side*side)
Answers
Answered by
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
1
please mark me as brainlist and thanks me
Attachments:
Similar questions