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

how do composers interact with their ecosystem
HELP QUICK PLEASE !!! If a is a rational number and b is a rational number, then the product ab must be? A) rational. B) imaginary. C) an integer.
a characteristic that the two processes have in common is that each process
Mark each statement if it is a key characteristic of Greek drama and theater. A. Greek theaters had a circular or semicircular stage called an orchestra. B.
What is the common denominator for 1/5 2/3 5/8?
A poem that tells a story is called a
how did the age of european exploration help pave the way for the scientific revolution
The use of wells to obtain drinking water is a modern convenience. Is this true or false?
Which statement best explains the relationship between the electric force between two charged objects and the distance between them?
why did totalitarian states rise after World War one and what did they do