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 are some of the policies that the united states pursues to control immigration?
find the area of the figure ? a) 41cm^2b) 90cm^2c) 95cm^2d) 100cm^2
What would you use if you needed to measure the volume of an object?
what is the definition of gas giants
Which statement best describes the plot of “The Giant’s House” by Elizabeth McCracken? A. A boy and a librarian fall in love while searching for answers to t
How do Mr.and Mrs.frank react to Mr.van daan stealing the bread?how does his family react
HEEEEEEEEEEEEELLLLLLLLLLLLPPPPPPPPPPPPPPPPP!!!!!!!!!!!!!!!!!!!!!!!!!! WHATS 5/6+2/14= IF YOU WANT BRAINLIEST ANSWER MY QUESTION BEFORE THIS ONE
What is 115/5-60/20
Which of the following is a device that plugs in a usb port on the computer or mobile device and contains multiple usb ports?
John wants to simplify the expression (5+3) to the power of 2. As a first step, he writes 5 to the power of 2+3to the power of 2. Will he get the correct value