Computer Science, asked by jhumpasamanta9840, 2 months ago

write a program in Java to find the area and perimeter of a rectangle where the length is 20 cm and breadth is 15cm [area = length × breath; perimeter =2 (length +breadth )]​

Attachments:

Answers

Answered by sujitkundu2709
4

Answer:

  1. Declare a class with name A.
  2. Declare the main method public static void main(String args[]){
  3. Now Type the System. out. println("Hello World"); which displays the text Hello World.
Attachments:
Similar questions