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

why did the fur trappers come to today's Utah?
Jereen spent 1/4 hour on homework after school, another 1/2 hour after she got home, and final 1/3 hour after dinner. Did she spend more or less than 1 hour on
Qin Shihuangdi was buried with over 6,000 soldiers and horses made of _____. A. Jewels. B. Terra- cotta. C. Gold or D. Bronze
Does the preamble to the Declaration of Independence indicate reasons why the new independent government might be similarly removed or overthrown? Why or why no
write a mixed number for p so that 3 1/4 x p is more than 3 1/4
Plato A. tutored Alexander the Great B. condemned to death by poison C. thought philosopher-kings should run the government C!?
Mary bought 5 2/5 yards of string. She gave her friend 2/3 of the string. How many yards of string did she give to her friend? How many yards of string were le
simplify 4y-28=2(y+2)
The function {(1, 4), (2, 5), (3, 6)} has the function rule y = 3x + 1.True or false? Please help!
who was arguably most influential in the unification of Germany