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

Create the electron configuration of Fluorine, atomic number 9.
Given the equation y= -4x + 7 what is the slope and y intercept of the equation
Scientists conduct experiments to collect evidence. Which of the following is the best definition of the word experiment as used by scientists? A. a structured
What are the properties of acids?
Find the value of x. round to the nearest degree.​
What went wrong on Dr. Olsen’s return trip to Earth?
Find the perimeter of a triangle with side lengths of (3c + 4), (5c - 2), and (4c + 7)
What does Romeo and Juliet have in common with Senecan drama in terms of content? Select all that apply.
Mr and mrs Gomez are buying carpet for their square shaped bedroom which measures 7 yd along each wall the carpet is $21 per square and padding and installation
which factors affect the temperature of a region check all that applyA:altitudeB:distance from large bodies of waterC:PrecipitationD:latitudeE:windF:ocean curre