Computer Science, asked by sg463458, 2 months ago

Write a java program to find out the perimeter and area of a rectangle.

plz ans... it's urgent...plz help brainly genius​

Answers

Answered by Anonymous
3

Answer:

  • public class Main.
  • public static void main (String args[])
  • float a ,b, c, d, perimeter;
  • a=c= 5;
  • b=d=4;
  • perimeter = 2*(a+b);
  • System.out.println("Perimeter of Rectangle is: "+perimeter);
Answered by kd1030601
3

Answer:

I will follow you but first thank my 30 answer please I need thanks

Similar questions