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 is a scientific blank?
solve 15 = 0.5 n check the souution
Why do the u.s. and australia have different animals??
If anyone is really good at physics, please respond to this to let me know. If you respond, I will post another question for you to answer and make it worth 50
A toddler is taken to the emergency room (ER) and the triage nurse tells the parent that the child’s weight is 25 pounds. When the nurse enters the data into th
Jacques deposited $1,900 into an account that earns 4% interest compounded semiannually. After t years, Jacques has $3,875.79 in the account. Assuming he made n
Which of the mediterranean countries is landloked?
The price for 32 inch TV cost $625 and the clearance sale is 20% off. What is the new selling price?
What year did slavery started and what year did it endend?
Why are plant cells square, when animal cells are round?