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

At constant volume, if the Kelvin temperature of a gas is doubled, the pressure of the gas is halved. A. True B. False
Which gland helps the body prepare for and handle stress? a. pancreas b. adrenal gland c. pituitary gland d. thyroid gland
what is the appropriate metric unit for the width of a sheet of paper
Which appeal presents facts, statisics, and common sense
If (-2, y) lies on the graph of y =4^x, then y =
1/2 divided by N equals 1/3 what is N?
What is the country to the south of belgium?
What is the solution of the equation? 3 = b + 3 a. 1 b. 6 c. 9 d. 0
What omen occurs in the odyssey, and how does the seer Halitherses interpret this omen?
what is 9/10 take away 4/10