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

What percentage of the 27.3 million businesses in the united states are small companies with less than 500​ employees?
A 67.2 g sample of a gold and palladium alloy contains 3.28×1023 atoms .
Predict the number of roses in a garden with 16 sunflowers if there are 3 sunflowers in a garden with 81 roses.
10. Your Turn: Find the equation of a line that is perpendicular to y=2x+7, and passes through the point (-4, 7). SHOW YOUR WORK *
The price of a cup of coffee has risen to $ 2.35 today. Yesterday's price was $ 2.20 . Find the percentage increase. Round your answer to the nearest tenth of
what's the eqaution for 9-2x=35
A driver's thinking process that says, "This doesn't apply to me." is known as
Why has the us moved from dual federalism to cooperative federalism?
If a plaintiff waited to bring a lawsuit for several years, and in those years witnesses died and evidence was lost or destroyed, one equitable defense that the
Carlos is spreading mulch in a circle on top of an area where he has planted some seeds. He has enough mulch to cover an area that is 12.5 square feet. How much