write a basic program
PC BASIC
Write a BASIC program to find and display the area and perimeter of a rectangular field if its length is 200 m and its breadth is 150 m.
plzz write the program
PC BASIC programming
ch - Computer
Answers
Answered by
0
public class area
{
public void calculator ()
{
double l= 200;
double b=150;
double ar=l*b;
double p=2*(l+b);
System.out.println("Area="+ar);
System.out.println("Perimeter="+pr);
}
}
Similar questions
Math,
4 months ago
Computer Science,
4 months ago
Accountancy,
8 months ago
Math,
8 months ago
Math,
1 year ago