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

What are the characteristics of mass culture?
Six popular brands of tea are to be used in a blind taste study for consumer recognition. If three distinct brands are chosen from the six, and if the consumer
A graph depicts force versus position. What represents the work done by the force over the given displacement? A. The work done is equal to the product of the m
Hey, need some help reverent A. respectful B. respect C. reply D. to spoil
Hey, need some help reverent A. respectful B. respect C. reply D. to spoil
Tennis balls with a diameter of 2.5 in. are packaged 3 to a can. The can is a cylinder. Find the volume of the space in the can that is not occupied by tennis b
Compute the odds in favor of rolling a sum of 10 in a single roll of two fair dice
A graph depicts force versus position. What represents the work done by the force over the given displacement? A. The work done is equal to the product of the m
wats the 60% off a prize that is $20.00
What was the South’s greatest concern when California applied for statehood?