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

How do you plot points on a graph?
Hello anyone from USA here?
How do you find y by substitution?
The distance, s, that an object falls from rest varies directly as the square of the time, t, of the fall. a book dropped from the top of a building falls 144 f
Which career path requires training in both computer science and engineering? o a. applications development b. robotics c. bioinformatics d. systems administrat
At a restaurant, bill and his four friends decided to divide the bill evenly. if each person paid $12, what was the total bill? write an equation to represent t
Why might a country want to increase its power or expand its territory? check all that apply. to bolster its defenses to restrict its military expenses to limi
What are three benefits of an influenza vaccination?
a line is perpendicular to Y=3x-8 and intersects the point (6, 1). what is the slope of this perpendicular line? A. -3 B. 1/3 C. 3 D. 1/3
Write a story from a speck of dusts point of view to walk through the process of star formation. explain all the things you would see and feel going through thi