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 part of a reflex arc connects the effector to the spinal cord? The sensory neuron The motor neuron The receptor The reflexor I think it is the motor n
Max is building a rectangular dog pen. One side of the pen will just be the side of the house. If he has 45 feet of fencing to use for the other three sides,
Why does the author give Mrs. jones such a distinct dialect
Which polynomial is equivalent to (2h − 3k)(h + 5k)? A) 2h2 + 7hk − 15k2 B) 2h2 − 7hk − 15k2 C) 2h2 + 7hk + 15k2 D) 2h2 − 7hk + 15k2
How did technological advances during the Industrial Revolution change Great Britain? Which groups benefited most from these changes and which groups benefited
True or False? Social reform movements are organizations that support a common idea or cause.
Which is a characteristic of dramatic point of view? Question 3 options: It uses the pronouns I and me. It allows the audience to get deep inside a character's
icp unit 5 lab sheet
Which type of account is typically the most liquid
(+8) + (-9) Equal what ??