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

A cup sits on a table. Due to its position, the potential energy of the cup is 3.00 joules. Ignoring frictional effects, if the cup falls off the table, how muc
The marshall plan was important because it
PLEASE HELP! What does the Constitution state about the interaction of the judicial branch and new laws? A.The judicial branch cannot overturn a new law
)At the Fast-Pack It shipping, the employees can unload 25 trucks in 5 hours. Which of the following is a correct unit rate for this situation?
In the thesaurus. What is another word for broken what is another word for broken
What was an important result of the Marshall plan ?
Which method of characterization focuses on how characters interact with one another? A. Dialogue B. Exposition C. Appearance D. Conflict
Many types of depression can be treated effectively with medication. false true
Which of the following formulas would find the surface area of a right cone
PLEASE HELP ME WITH THIS GEOMETRY PROBLEM!!!!!!!!!!!!!!!!!!!!!!!!!!!