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

suppose p varies directly with d and p= 3 when d= 5. What is the value of d when p= 12
compare anaerobic and cellular respiration
what is ocean water?
if a=2,c=4 e=-6 then 3a-3(2c-e)
Mr. Jones, the science teacher, tells his students that energy cannot be created; it must be captured from the environment. He is talking about the _____. food
How do you write 14.8256 in expanded form
What is fluffy in french? 30 points
What is the GCF of 49 and 63?
The feeling of fervent devotion toward one’s nation above all others is known as?
Which character in a poem from this unit visits a dark, empty house to keep a promise he made and then rides off on his horse when no one is there to meet him?