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

What term is used for intense feelings that are directed at someone or something?
1. What is a citizen? 2. How are citizens and noncitizens alike? 3. Why does legal citizenship matter? What benefits do legal citizens have that others do not?
Choose the definition of: Invertebrates A. Having no backbone B. have a backbone C. having several backbones D. having lost a backbone
Why can light NOT escape a black whole?
how much of earths land surface is desert
By definition, who writes an autobiography? a. a scholar of the specific topic, b. an acquaintance of the person it is about, c. the person it is about, d.
Give me two positive answers. How did hiring scholars help China?
Bibliophiles are people who collect
The earliest civilizations in Egypt were centered on the River.
The temperature of a gas decreases 0.045°C every minute for 8 min. What is the change in the temperature of the gas? Use a positive or negative number to expr