Binisha
Binisha Binisha
  • 02-12-2020
  • Computers and Technology
contestada

write a QBASIC program to input two sides of a rectangle from the user and print its area and perimeter [Area = L×B, Perimeter =2 (L+B)]​

Respuesta :

siddanjanPokhrel
siddanjanPokhrel siddanjanPokhrel
  • 02-12-2020

Answer:

CLS

INPUT"ENTER THE LENGTH";L

INPUT"ENTER THE BREADTH";B

AREA=L*B;A

PERIMETER=2(L+B);P

PRINT"THE AREA IS =";A

PRINT"THE PERIMETER IS =";P

END

Answer Link

Otras preguntas

How often does a 100 year flood happen
How many cubes are inside the rectangular prism? A) 21 cubes B) 28 cubes C) 36 cubes D) 42 cubes
A number whose square roots are integers or quotients of integers. perfect square solution cube root sublime none of the above
How does the migrant workers culture affect the story? Use textual evidence to support your answer
What is the area of a rectangle with a length of 7.5 feet and a width of 8 feet? 31 ft2 56 ft2 56.5 ft2 60 ft2
What is the equation of the line that passes through the points (2,4) and (-4,1)
18. Which process led to the release of large amounts of carbon dioxide at the end of the Devonian period? Please explain A. The melting of glaciers B. Th
Which equation is y = 9x2 + 9x – 1 rewritten in vertex form?
The lymphatic capillaries function to absorb the excess protein-containing interstitial fluid and return it to the bloodstream. True or False
In the hunger games book it says one of the careers snapped someone's neck of anger because Katniss had blown up there supplies, who did what to who, or what ca