My issue
Write a program for the following problem
Let’s consider a rectangle of sides 11 and 13.
Output the following on separate lines
Area of the rectangle
Perimeter of the rectangle
My code
class CodeChef
{
public static void main (String[] args)
{
// area - length * breadth
System.out.println(_____);
//perimeter - 2(length + breadth)
System.out.print(_ * (_____));
}
}
Learning course: Learn Java
Problem Link: CodeChef: Practical coding for everyone