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

Name one Importance of solar power
Divide 3x2 + 6 by 3x – 3.
-7x+y=-19 -2x+3y=-19
Whats weight 2.85 rounded to the nearest hundreth DOwn will be choices
Find the percent of increase from 12 pencils to 18 pencils.
On a map of average annual temperature, why are the lower latitudes so much warmer than the higher latitudes?
"No," said one of the gentlemen, "we ask you if you do not deeply love the King of the Bulgarians?" "Not at all," said he; "for I have nev
for 9x + 25= 88, Deena wrote the situation “ i bought some shirts at the store for $9 each and received a $25 discount. My total bill was $88. How many shirts d
in common sense, what does Thomas Paine say in response to the argument that the colonies will continue to flourish under British rule? A. that the argument lac
The teacher writes 10/12 on the board. he asks students to write the fraction in simplest form. Who writes the correct answer?