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 statement is true about the value of Dante’s assets and liabilities?
PLEASE HELP Andre must pay a co-pay of $15 for an office visit. his insurance company will then pay 80% of the cost of the visit. how much will andre pay for an
Which question is statistical? A.How many of each species of butterflies did you see on your camping trip? B.How many different species of butterflies are the
find the next three terms in the sequence. 12,36,108...
Need help ASAP ! Global warming is an increase in _____ around the planet A. Low temperature B. High temperature C. Storms and depressions D. Average tempera
What factors helped spark the beginning of the great migration
Sir launcelot's nobles advise him to go to war. who has invaded and laid waste to his lands
Nicole _____three miles every morning. What the correct answer run, runs, running or are running?
Which was not an achievement of the Northwest Ordinance?   A. It provided a way for territories to organize and enter the union as states.   B. It encour
According to the Köppen climate classification system, _____. dry climates include large savannas highland climates have very low mean temperatures humid mid-la