Computer Science, asked by swapnasamanata, 1 month ago

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 omprakashpatel19042
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 rishitp08
1

Answer:

Java program you can get

Similar questions