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

a quarter horse often excels at running races of 1/4 or less. how many feet is that
what is cube root of 711
How are the sun ray's like mathematics rays?
Select the definition of democracy. A. rule by many B. rule by a representatives C. rule by religious leaders D. rule by a few individuals B!!!!???
What tradition did the Bantu people bring with them throughout their migrations? farming hunting and gathering trading craftsmanship.
Is new york city a rural, urban or suburban community?explain.
The function {(1, 4), (2, 5), (3, 6)} has the function rule y = 3x + 1.True or false? Please help!
Simplify the expression below. (4x)3 4x3 7x3 12x3 64x3
Which conclusion about the meaning of Y is correct if the allele combination Yy is for yellow seeds? yellow and dominant green and recessive yellow and recessiv
Which step should be completed first to solve the equation ? A. Add 12 to both sides. B. Add 13 to both sides. C. Divide both sides by 8. D. Subtract 13