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

The table shows your test results for math class. What test score do you need on the last exam to earn 90% of the total points? Test score percent answer needed
£35 in ratio 6 : 1 would be?
The destruction of which structure signaled the end of the Cold War? 1) Berlin Wall 2) The Statue of Stalin 3) Military bases in Germany 4) None of the above
i need some help pls.
rewrite the following sentence in the active or passive voice form 1. public elementary and secondary schools provide the free education to all people2. the you
Which of the following solutions can act as a buffer solution? a) Distilled waterb) Pure hydrochloric acidc) Acetic acid and sodium acetated) Sodium chloride so
what’s digital infastructure
Who led the rebellion against French control in the Caribbean? 1) Sacagawea 2) Zebulon Pike 3) Napoleon Bonaparte 4) Toussaint Louverture 5) Meriwether Lewis
"How have women contributed to the field of space exploration?"
Question number 5 please. I wrote it down if you can't see the whole question from the photos. 5. Figure 3.33 shows the Millau viaduct in south-western France.