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

Can someone make me a 7 sentence conclusion please :).In Missouri we have 4 seasons throughout the year. The 4 seasons are summer, winter, spring, and fall. In
f(x) = x - 2 g(x) = x2 + 1 Find (f - g)(2) -93 -5 9 5
13 (01.05 HC) In science class, the teacher, Mr. Jacobs, breaks a wooden board in half as a demonstration. Carol states that she believes this is an example of
To explain the photoelectric effect, Albert Einstein linked the photoelectric effect to an idea from which scientist? Heinrich Hertz Isaac Newton Max Planck Tho
Which of the following is(are) the solution(s) to . x+8 = 1? O A. x = 9 B. X= -7,-9 O C. x = 7,9 O D. X=-7
PLEASE ANSWER BOTH PLS
Please help! How does the circulatory system work at the tissue level? A) The heart pumps the blood. B (Blood cells carry nutrients. C) Nutrients are delivered
urine is removed from the bladder through the ​
Roland needs 8 sheets of fabric that are each 45 yard long.
Anyone know how to do this