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 me thx!!!!!!!!!​
Athena hiked 6 miles in 2 hours . Which of the following can be represented by an equivalent ratio ? Explain your thinking • 4 miles in 1 hour • 12 miles in 4
A regular section of land made up of wheat farms has a length of 5x10^4 and the width of 6x10^3 what is the area of the length in square meters?
The second side of a triangle is 7 inches more than the first side. The third side is 4 inches less than 3 times the first. The perimeter is 28 inches. Find the
please help thanks ❗​
Why did Nathan C. Barnett hide the state seal in 1868? A) Barnett did not like the original design of the seal. He did not want Southerners to be sad about the
Simplify the cubed root of six over the fourth root of six six raised to the one twelfth power six raised to the one fourth power six raised to the four thir
State two reasons why some molecules can pass through a certain membrane, but other molecules can not.
what expression is equivalent to 2(x + 7)-18x+4/5
Under which accounting heads will a company’s accountant record costs for advertisements and accrued wages for the month? Advertisements will go in the BLANK ac