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

Which community benefits most from a community health programs
Which of the following differentiates grid computing from cloud computing? Grid computing is a natural evolution of the widespread adoption of virtualization an
AlwaysRain Irrigation, Inc., would like to determine capacity requirements for the next four years. Currently two production lines are in place for making bron
he surface of the cells of some Pseudomonas species are covered in numerous threadlike structures. What is the likely reaction of such a Pseudomonas cell to the
The random variable X, representing the number of accidents in a certain intersection in a week, has the following probability distribution: x 0 1 2 3 4 5 P(X =
What is fotosintesi
What was controversial about the revision of the german-soviet-polish borders.?
1. ¿Cuál es tu opinión sobre las corridas de toros?
Thirty one increased by fourteen
(1) The names and deeds of some of these men will live in American history, and in the true sense they are unknown, because misunderstood. How should the underl