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

A small bar of gold is a rectangular prism that measures 40 mm. by 25 mm. by 2 mm. one cubic mm. of gold weights about 0.0005 ounces. find the volume in cubic m
As a car is driven around burning gasoline, what is released into the atmosphere?
What is a change in a DNA sequence called
An important element of an autobiography is self-evaluation or introspection. Which sentences in this excerpt from the Autobiography of Benjamin Franklin show t
What is in the center of our solar system ? Name three physical features of this object .
Words that describe Betsy Ross
origen y evolucion del sistema solar
What are four species in a rural environment and four species in an urban environment
a short story in 15 sentences, using the following vocabulary: collapse, particles, collide, galaxy, and planets
Discuss five negative impacts of the social network individuals rights to privacy and safety