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.A law should be passed that bans the use of a cell phone while driving. Too often I have seen people driving recklessly while engaged in conversation on a cel
Budgetary earmarks for colleges and universities would be anexample of
Helppppppppppppppppppppppppppppppppppppppppppppppppp
What type of rock would you expect to form from the material found along a beach? crystalline sedimentary metamorphic igneous?
If 1 square food of grass seed = 25cents ,then how much would grass seed cost for 55,000 square feet of grass seed
the triple entente was made up of?
What economic method is often used to guide policy makers in making pollution regulations?
Explain how vaccines and externally produced antibodies fight disease
Read the excerpt below and answer the question. --------- "The child is not dead The child lifts his fists against his mother Who shouts Afrika! shouts the br
Why is Linnaeus called the father of taxonomy?