Write the algorithm of a program in java to find the area of a rectangle given by user
Answers
Answered by
3
Answer:
Java Program
public class rectangle{
public static void main(String args[])
{
int width=5;
int height=10;
int area=width*height;
System.out.println("Area of rectangle="+area);
Similar questions