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 seismic wave moves through earth at the fastest speed?
you measure or observe two events to occur at the same time one nearby and one further away. Which one did you actually see first?
If Walt can paint 25 feet of fence in an hour, and Joe can paint 35 feet in an hour, how many minutes will it take them to paint a 150-foot fence, if they work
which factor made the most difference in how agriculture affected the economies of the colonies?
How do scientists use seismic waves to determine the interior structure of Earth?
Dominick lives 1 3/4 miles from his school.  If his mother drives him half the way, how far will Dominick have to walk to get to school?
How do scientists use seismic waves to determine the interior structure of Earth?
Natalie earns $2.50 for each cd she sells and $3.50 for each dvd she sells.  Natalie sold 45 dvds last year.  She earned a total of $780 last year selling cds a
which seismic wave moves through earth at the fastest speed?
An airplane travels 3,260 kilometers in 4 hours. What is the airplane’s average speed?