Computer Science, asked by daksharora7303, 5 hours ago

Write a program in java to print the area and perimeter of a square whose side is 20 cm

Answers

Answered by anishauma81
0

Answer:

public class calc {

void computer () {

double side , perm = 20

side= perm / 4

system . out . print (" the side of square with perimeter 20 m , is " + side + " m " ) ;

out put ,the side of square with perimeter 20 m is 5.0

JAVA :

java is a popular third - generation programming language, which can be used to do any of the thousands of things that a computer software can do . with features it offers , Java has become the language of choice for internet and intranet applications. Java plays an important role for the proper functioning of many software- based device attached to the network

hope it it will help you

please mark me as a BRAIN LIST FRIENDS

Similar questions