0

How to make a program in blue java of area of rectangle

give me the program of how to find area of rectangle in blue j....plz reply i need urgent plz

26th Jun 2017, 1:45 PM
Anish Sadhu
Anish Sadhu - avatar
3 Respuestas
+ 1
the area of a rectangle is just Length * Width ... Take input for length and width and multiply them
26th Jun 2017, 2:08 PM
LordHill
LordHill - avatar
0
class Rectangle { void main() { int l=2; int w=3; int c=l*w; System.out.println("The Area is"+c);
2nd Jul 2017, 5:59 AM
Divyansh Gupta
0
In the end close 2 bracket .
2nd Jul 2017, 6:02 AM
Divyansh Gupta