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

Now consider the case of Purple Panda Industries. Many of Purple Panda Industries’s customers have expanded to India. Consequently, Purple Panda Industries has
Transform each graph as specified below. (a) The graph of y= f(x) is shown. Draw the graph of y=1/2f(x). (b) The graph of y=g(x) is shown. Draw the graph of y=g
Each year the Royal London company gives its employees a gift box containing 6 bags of coffee, 4 boxes of tea, and 2 boxes of biscuits. If in the first three ye
PLEASE HELP ASAP: The United States did not experience a major unemployment problem among veterans following World War II, as it had after World War I. Which of
the boys (clean) the car .it looks new again​
Please help whilst I try to solve this as well.
Based on the circle graph,how many pounds of milk and eggs does the average American consume each year?PLEASE EXPLAIN IMAGE IS PROVIDED E.300 F.368 G.460 H.552
I’m really stuck please can someone help
What was a role of Sacagawea in the Lewis and Clark expedition? O A. Guide OB. Diplomat OC. Translator OD. All of the above
Write the integral and solve for the area under the curve: