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 is the x and y for the equations -2x+15y=-24 and 2x+9y=24
NEED HELP PLEASE NOT SURE ​
which sentence best explains how this painting reflects the changes in england in the 1800s
A space vehicle has an independent backup system for one of its communication networks. The probability that either system will function satisfactorily during a
What’s considered the brain of a computer?
Solve the equation 15=7-|2x|
State the exclusion principle. What does it imply about the number and spin of electrons in an atomic orbital?
In five games you score 16 12 15 13 and 17 points. Write and solve an inequality to determine how many points you must score in the sixth game to have an averag
A seller has a house that is 1900 ft^ 2 . The neighborhood comps show the line of best fit to be y = 0.074x + 50.48 . What is a fair price for this house?
Lucille was a kind person, but she hated people who spread rumors is the adverb or conjunction