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

Vanessa runs a dog kennel. There are 45 dogs at the kennel today, and she needs to collect the correct size bowls for feeding time. 1/5 of the dogs need a small
New Mexico's climate would best match which two Texas Regions? Select one: North Central Plains and Gulf Coastal Plains Mountains and Basins and Great Plains Gr
The process of digging a site includes _______________ a. carefully recording the location of artifacts. b. accurate descriptions of the artifacts. c. noting th
__________ is the BEST example of a nation that uses a democratic type of government. A. North Korea B. Finland C. Saudi Arabia D. The United States
Find the circumference of a circle with radius of 18 in. Leave your answer in terms of pi. A. 18 pi in. B. 324 pi in. C. 54 pi in. D. 36 pi in.
How do you write 8409.08 in words?
Amanda wants to pay the same amount each month on her car loan. The number of the payment various inversely with the monthly payment amount. If each monthly pay
4. What is the crux of a political institution?
Adolescents required fewer hours of physical activity than adults. True or False?
Find the volume (in mL) of a substance that has a mass of 11.6 g and a density of 0.81 g/mL. Give your answer with two decimals.