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

A lecture was being given to the students A.verb B.noun C.adj
In the South Pacific Marines used coded messages sent in the _____ language.
Zeno is walking in a straight line. With each step, he covers half the remaining distance between him and the end of his path, which is a total of 8 feet. After
What is the value of x if 2x+5=10
in edgar allan poe's the raven, what is the last question the speaker asks the bird
its C right Which describes a result of the American Civil War? A. The Union and the Confederacy remained separated for ten years. B. The treaty ending the war
Determine the nature of the roots: 3X^2-6X+3=0 a. a unique real solution c. cannot be determined b. two distinct real solutions d. no real solutions
On a particular day, the wind added 2 miles per hour to Jaime's rate when she was rowing with the wind and subtracted 2 miles per hour from her rate on her retu
U.S. Admiral Henry Mayo demanded that Mexico give a 21-gun salute to the American _____________ after the Tampico Incident.
A number of ancient Greek writers wrote extended prose narratives. True False