Computer Science, asked by virendarsiag, 1 year ago

program in java to calculate area of rectangle

Answers

Answered by Incredible29
2
Heya user ,
Here is your answer !!

___________
public class Area
{
public static void main ( int l , int b )
{
int a = l * b ;
System.out.println ( " Area of the rectangle : " + a ) ;
}
}

____________

input :
3 , 5

output :
Area of the rectangle : 15

____________

Hope it helps !!
Similar questions