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 main religion of Latin america
a soccer team played 160 games and won 65% of them. how many did they win?
how might a scientist a determine  whether trait sex-linked by observing the offspring of several genetic crosses
Which is the same as 0.08? A) 80% B) 80/100 C) 8% D) 0.8
How did Alexander the Great rise to power and how did he spread Greek culture to other lands?
Simplify (7-5i)(-3+9i)-(5+6i)^2
There is an inverse relationship between x and y. If y is when x is 3, what is x when y is 9? 3 5
the area of a triangle is 41 yards to the second power with a base of 5 yard what is the height in yard
What is the main religion of Latin america
How did the depression affect women and children?