Write program using int variable to find the area and parameter of a
rectangle of length 102 cm and breadth 80cm
Answers
Answered by
0
Answer:
class area
{
public static void main (String args [])
{
Scanner sc = new Scanner (System.in);
int l=102;
int b= 80;
int area=l*b;
int para= 2*(l+b);
System.out.println("Area="+area);
System.out.println("Parameter="+para);
}
}
Please Subscribe my Youtube Channel Study To Study ICSE-Swapnil Mehta for more Java Programs :)
Explanation:
hope it will help you
Mark me as brainlist :)
Similar questions