write a java program to calculate and display the area of a square where side=4
Answers
Answered by
1
Solution in above picture.
Attachments:
Answered by
7
Answer:
public class Square
{
public static void main (string args[])
{
int s=4;
int a=s*s;
System.out.println(a);
}
}
Explanation:
Please mark me as brainliest
Similar questions