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

the plaque of 1348 is most significant because
True or false: The midpoint of a given line segment must lie on the given line segment?
What is the next odd number after 7006?
Fill the blank with the correct object pronoun. A ti _____________ duelen los pies. I think it's te...
How might European interest in exploration have increased as a result of the Crusades?
What fraction is the same as seven tenths
what Battle proved to be the single bloodiest day in American history.
equivalent fractions of 4/5
Determine the quantity of work done when a crane lifts a 100-N block from 2 m above the ground to 6 m above the ground. A. 100 J B. 200 J C. 400 J D. 600 J
PLEASE HELP ME I AM STUCK PLEASE PLEASE PLEASE