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

HELP 10 POINTS!!!!!!!!!!!! ONE QUESTION!!!!!!! Gross profit by department appears on the: income statement. statement of cash flows. statement of retained earni
5x(2) Explain to me please Thanks
A spinner is divded into two equally sized sections. The sections are labeled STOP and GO. S represents STOP and G represents GO. The spinner is spun twice. Wha
What is the term generally used to describe the way you present yourself to others? (fill in the blank)
The root word botan- means:A) AttachB) BatonC) AnimalD) Plant​
Base your answer to this question on the information below.During a bread-making process, glucose is converted to ethanol and carbon dioxide, causing the bread
What is a characteristic of weight I need it please answer it
Why the temperature remains constant during the change of state?​
How do you graph y≤-3/4x-2
which statement best describes the association between variable X and variable Y?*weak negative association *moderate negative association *moderate positive as