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

1. Describe two advantages of genetic engineering.
If f(x) = 3x and g(x)=2x, what is (g o f)(x)? 5x 5x2 6x 6x2
Which sentence does not contain any errors in punctuation or capitalization? A."How do you write a capital Q in cursive?" Scott asked. B."How do you write a cap
The word ecology is made up of two Greek words, oikos and logia, and means "_____." -house knowledge -life logic -house logistics -environmental knowledge
What kind of reaction happens when you mix Baking soda and vinegar? (In your own words)
A bag has four green marbles, three red marbles, and three yellow marbles. What is the probability that you pick a red marble, do not replace it, and pick anot
what does abrrevation mean
Simplify the expression: 1/1+cot^2x a.sec^2x b.csc^2x c.sin^2x d.cos^2x e.tan^2x
For any given reaction, which of the following will speed up the reaction rate? a)increase the temperature b)add a catalyst c)increase the surface area d
What is the approximate period of this wave? 15 centimeters 15 seconds 10 seconds 5 seconds