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

determine a relationship between the x- and y- values. write an equation. x =1 2 3 4 y = 4 5 6 7
Simplify. 26 + (–3) ∙ (–8) A. –184 B. –2 C. 2 D. 50
please help Evaluate the expression when r = 8.2 and s = –3.7. r – 2s A. –22.94 B. 0.8 C. 4.5 D. 15.6
In a short response of at least three complete sentences, define flash-forward and explain its effect on a traditional plot structure
21.) Which best describes the antecedent in the sentence? Mr. Walker helped Larry with his Latin lessons, but he had to leave early. A. clear B. missing, unc
while ice skating,alice slipped and injured her knee.what is one way Alice might have prevented this injury
outlaws of the Wild West were heroes of their time
why did president Truman believe that the United States should sign the North Atlantic treaty
is the earth getting heavier
ted is making three picture frames like the one shown below.what length wood does ted need for all three picture frames?