Write the java program to get length and breadth
from the user and find the area of a rectangle and
display it.
Answers
Answered by
1
import java. util. Scanner; class AreaOfRectangle.
public static void main(String args[]) {
Scanner s= new Scanner(System. in);
double l= s. nextDouble(); System. out. println("Enter the breadth:");
double b= s. nextDouble();
System. out. println("Area of Rectangle is: " + area); }
Answered by
1
Answer:
Java program you can get
Similar questions